Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 105.4 kB / 17.06 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 196 kB / 18 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 48.06 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3499, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002869/0.3528, allocations: 1.551 MB / 402.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.3537, allocations: 474.7 kB / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.3538, allocations: 3.938 kB / 402.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.3538, allocations: 7.938 kB / 402.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.354, allocations: 11.92 kB / 402.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.3543, allocations: 47.83 kB / 402.8 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3544, allocations: 43.84 kB / 402.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3545, allocations: 15.98 kB / 402.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.3546, allocations: 23.86 kB / 402.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.3546, allocations: 19.86 kB / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3547, allocations: 8 kB / 402.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.3547, allocations: 4 kB / 402.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.3547, allocations: 11.98 kB / 402.9 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.3548, allocations: 27.8 kB / 402.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3549, allocations: 55.75 kB / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3549, allocations: 0 / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3549, allocations: 0 / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3549, allocations: 0 / 403 MB, free: 6.598 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000496/0.3554, allocations: 372.3 kB / 403.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3555, allocations: 12.03 kB / 403.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3555, allocations: 12.78 kB / 403.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3558, allocations: 211 kB / 403.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3558, allocations: 384 / 403.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3558, allocations: 4.375 kB / 403.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3561, allocations: 117.3 kB / 403.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3561, allocations: 0 / 403.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3561, allocations: 0 / 403.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3561, allocations: 0 / 403.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.3562, allocations: 23.92 kB / 403.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.3566, allocations: 265.7 kB / 404 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.3566, allocations: 45.16 kB / 404 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.3567, allocations: 21.77 kB / 404.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3567, allocations: 0 / 404.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3568, allocations: 34.56 kB / 404.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3568, allocations: 4 kB / 404.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002537/0.357, allocations: 65.52 kB / 404.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.3571, allocations: 77.11 kB / 404.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3572, allocations: 142.2 kB / 404.4 MB, free: 5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3573, allocations: 25.7 kB / 404.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.3573, allocations: 88.12 kB / 404.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3573, allocations: 12.16 kB / 404.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3574, allocations: 13.72 kB / 404.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3575, allocations: 314.8 kB / 404.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.3575, allocations: 7.984 kB / 404.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.3576, allocations: 17.72 kB / 404.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.3577, allocations: 41.64 kB / 404.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3577, allocations: 0 / 404.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.3578, allocations: 57.61 kB / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3578, allocations: 8 kB / 404.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3578, allocations: 0 / 404.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3579, allocations: 0 / 404.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.3579, allocations: 4 kB / 405 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3579, allocations: 3.938 kB / 405 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.358, allocations: 12.05 kB / 405 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.358, allocations: 0 / 405 MB, free: 4.363 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.3581, allocations: 117.8 kB / 405.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.3582, allocations: 41.59 kB / 405.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.3582, allocations: 11.88 kB / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3582, allocations: 0 / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3582, allocations: 0 / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3582, allocations: 0 / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.3584, allocations: 181.5 kB / 405.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3584, allocations: 7.969 kB / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.3585, allocations: 7.984 kB / 405.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3585, allocations: 0 / 405.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3585, allocations: 4 kB / 405.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3585, allocations: 4 kB / 405.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3585, allocations: 3.984 kB / 405.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.3587, allocations: 164.2 kB / 405.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.3587, allocations: 93 kB / 405.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3588, allocations: 0 / 405.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.3588, allocations: 3.984 kB / 405.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.3589, allocations: 4 kB / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3589, allocations: 0 / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.353e-05/0.359, allocations: 113.8 kB / 405.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.359, allocations: 0 / 405.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.3592, allocations: 4 kB / 405.7 MB, free: 3.512 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.053e-05/0.3593, allocations: 104 kB / 405.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.3594, allocations: 23.98 kB / 405.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3594, allocations: 0 / 405.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.3595, allocations: 11.98 kB / 405.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3598, allocations: 15.91 kB / 405.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3602, allocations: 163.9 kB / 406 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3604, allocations: 0.6961 MB / 406.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.3605, allocations: 0 / 406.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.3605, allocations: 11.44 kB / 406.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3605, allocations: 0 / 406.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of Templates: time 0.002659/0.3632, allocations: 0.5173 MB / 407.3 MB, free: 1.918 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches