Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 116.6 kB / 17.06 MB, free: 5.996 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.001442/0.001442, allocations: 198.8 kB / 18 MB, free: 5.074 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.571/1.571, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 43.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3773, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002728/0.38, allocations: 1.42 MB / 402.1 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.3804, allocations: 99.69 kB / 402.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.3804, allocations: 0 / 402.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.3805, allocations: 7.922 kB / 402.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.013e-05/0.3805, allocations: 3.938 kB / 402.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.3808, allocations: 23.97 kB / 402.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.381, allocations: 23.94 kB / 402.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3811, allocations: 15.97 kB / 402.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.3811, allocations: 7.938 kB / 402.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.3812, allocations: 15.92 kB / 402.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3812, allocations: 0 / 402.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.3812, allocations: 4 kB / 402.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.3812, allocations: 4 kB / 402.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.3813, allocations: 19.86 kB / 402.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.3814, allocations: 27.91 kB / 402.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3814, allocations: 0 / 402.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3814, allocations: 0 / 402.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3814, allocations: 4 kB / 402.4 MB, free: 7.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005121/0.382, allocations: 332.9 kB / 402.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.382, allocations: 15.89 kB / 402.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.382, allocations: 0.9375 kB / 402.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3823, allocations: 183.9 kB / 402.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.3823, allocations: 8.312 kB / 402.9 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3824, allocations: 4.375 kB / 402.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.3827, allocations: 103.9 kB / 403 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3827, allocations: 192 / 403 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3827, allocations: 7.938 kB / 403 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3827, allocations: 0 / 403 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.3828, allocations: 12 kB / 403.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.383, allocations: 161.7 kB / 403.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3832, allocations: 46.5 kB / 403.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.3832, allocations: 24.92 kB / 403.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3833, allocations: 0 / 403.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3833, allocations: 30.56 kB / 403.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3833, allocations: 4 kB / 403.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002447/0.3836, allocations: 61.62 kB / 403.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.3836, allocations: 63.33 kB / 403.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3837, allocations: 97.86 kB / 403.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3838, allocations: 25.7 kB / 403.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.3838, allocations: 88.14 kB / 403.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.789e-06/0.3838, allocations: 3.984 kB / 403.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3838, allocations: 17.72 kB / 403.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.384, allocations: 314.8 kB / 404 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.384, allocations: 7.938 kB / 404 MB, free: 5.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.384, allocations: 31.42 kB / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.265e-05/0.3841, allocations: 35.38 kB / 404 MB, free: 5.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3841, allocations: 0 / 404 MB, free: 5.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.636e-05/0.3842, allocations: 57.53 kB / 404.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3842, allocations: 8 kB / 404.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3842, allocations: 7.922 kB / 404.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3842, allocations: 0 / 404.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.3843, allocations: 7.938 kB / 404.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3843, allocations: 0 / 404.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.3844, allocations: 8.375 kB / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.3844, allocations: 0 / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.996e-05/0.3845, allocations: 117.8 kB / 404.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.3846, allocations: 49.97 kB / 404.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.3846, allocations: 15.47 kB / 404.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3846, allocations: 3.984 kB / 404.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3846, allocations: 0 / 404.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3846, allocations: 0 / 404.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3848, allocations: 157.6 kB / 404.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3848, allocations: 4 kB / 404.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.3848, allocations: 7.938 kB / 404.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3848, allocations: 3.938 kB / 404.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3848, allocations: 3.938 kB / 404.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3848, allocations: 0 / 404.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3848, allocations: 3.984 kB / 404.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.385, allocations: 81.03 kB / 404.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.385, allocations: 77.11 kB / 404.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3851, allocations: 7.938 kB / 404.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.3851, allocations: 4 kB / 404.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-06/0.3851, allocations: 0 / 404.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3851, allocations: 3.984 kB / 404.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.3852, allocations: 83.28 kB / 404.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3852, allocations: 0 / 404.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.3854, allocations: 4 kB / 404.7 MB, free: 4.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.0001461/0.3855, allocations: 106.5 kB / 404.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.3857, allocations: 27.98 kB / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3857, allocations: 3.938 kB / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3857, allocations: 0 / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.3859, allocations: 23.95 kB / 404.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.3863, allocations: 112.7 kB / 405 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.3866, allocations: 0.6843 MB / 405.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.3867, allocations: 8.25 kB / 405.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.3867, allocations: 7.438 kB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3867, allocations: 0 / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of Templates: time 0.002612/0.3893, allocations: 316.7 kB / 406 MB, free: 3.164 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches