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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 241.4 MB, free: 9.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008393/0.0008394, allocations: 102.8 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003059, allocations: 8 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 50.42 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.3664, allocations: 76.13 MB / 478.9 MB, free: 4.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.3668, allocations: 75.95 kB / 479 MB, free: 4.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001621/0.3684, allocations: 0.6813 MB / 479.6 MB, free: 3.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3684, allocations: 0 / 479.6 MB, free: 3.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3684, allocations: 0 / 479.6 MB, free: 3.445 MB / 346.7 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.0003382/0.3688, allocations: 328.3 kB / 480 MB, free: 3.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3688, allocations: 12.03 kB / 480 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.3689, allocations: 0.9375 kB / 480 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3691, allocations: 176.3 kB / 480.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3691, allocations: 7.219 kB / 480.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3691, allocations: 4.375 kB / 480.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.3694, allocations: 107 kB / 480.3 MB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3695, allocations: 192 / 480.3 MB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3695, allocations: 3.938 kB / 480.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3695, allocations: 0 / 480.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.3696, allocations: 19.98 kB / 480.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.3697, allocations: 149.7 kB / 480.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3699, allocations: 54.56 kB / 480.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3699, allocations: 24.91 kB / 480.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3699, allocations: 0 / 480.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.37, allocations: 38.5 kB / 480.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.37, allocations: 0 / 480.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.3702, allocations: 73.61 kB / 480.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3703, allocations: 51.41 kB / 480.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.3704, allocations: 101.9 kB / 480.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3704, allocations: 25.7 kB / 480.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.3704, allocations: 92.11 kB / 480.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-06/0.3704, allocations: 0 / 480.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.3705, allocations: 0 / 480.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3706, allocations: 318.8 kB / 481.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.3706, allocations: 4 kB / 481.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.3707, allocations: 31.36 kB / 481.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.3708, allocations: 43.31 kB / 481.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3708, allocations: 0 / 481.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.531e-05/0.3708, allocations: 61.47 kB / 481.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3709, allocations: 4 kB / 481.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3709, allocations: 3.938 kB / 481.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3709, allocations: 4 kB / 481.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.3709, allocations: 0 / 481.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.371, allocations: 4 kB / 481.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.371, allocations: 4.125 kB / 481.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.371, allocations: 4 kB / 481.4 MB, free: 1.492 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/0.3711, allocations: 117.7 kB / 481.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.3712, allocations: 53.69 kB / 481.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.3712, allocations: 15.42 kB / 481.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3712, allocations: 0 / 481.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3712, allocations: 0 / 481.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3712, allocations: 0 / 481.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.481e-05/0.3713, allocations: 153.7 kB / 481.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3713, allocations: 4 kB / 481.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.3714, allocations: 0 / 481.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3714, allocations: 4 kB / 481.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3714, allocations: 3.938 kB / 481.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3714, allocations: 256 / 481.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3714, allocations: 4 kB / 481.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.3715, allocations: 85.05 kB / 481.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.3716, allocations: 85.02 kB / 481.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3716, allocations: 7.938 kB / 481.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.3717, allocations: 4 kB / 481.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-06/0.3717, allocations: 0 / 481.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3717, allocations: 0 / 481.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.3717, allocations: 83.27 kB / 482 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3717, allocations: 0 / 482 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.3719, allocations: 8 kB / 482 MB, free: 0.7695 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.3721, allocations: 99.62 kB / 482.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.3722, allocations: 27.92 kB / 482.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3722, allocations: 0 / 482.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.3722, allocations: 0 / 482.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.3724, allocations: 23.11 kB / 482.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.3727, allocations: 113.2 kB / 482.2 MB, free: 484 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.373, allocations: 0.6848 MB / 482.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.3731, allocations: 4 kB / 482.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.3731, allocations: 15.44 kB / 482.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3731, allocations: 3.938 kB / 482.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Templates: time 0.002021/0.3751, allocations: 282.6 kB / 483.2 MB, free: 15.46 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches