Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 176.1 kB / 17.4 MB, free: 4.418 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.504/1.504, allocations: 223.3 MB / 241.4 MB, free: 11.72 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.0008585/0.0008585, allocations: 96.86 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 11.94 kB / 352.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 50.41 MB / 402.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.4322, allocations: 81.28 MB / 484 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.4325, allocations: 83.95 kB / 484.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.4508, allocations: 6.052 MB / 490.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4509, allocations: 0 / 490.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.4509, allocations: 4 kB / 490.2 MB, free: 8.969 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008033/0.4517, allocations: 0.504 MB / 490.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4518, allocations: 8.031 kB / 490.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.4519, allocations: 24.75 kB / 490.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.4524, allocations: 274.8 kB / 491 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4524, allocations: 12.31 kB / 491 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.4524, allocations: 8.375 kB / 491 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.4528, allocations: 160.6 kB / 491.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4529, allocations: 192 / 491.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4529, allocations: 11.92 kB / 491.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4529, allocations: 0 / 491.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.453, allocations: 43.91 kB / 491.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.4537, allocations: 458.6 kB / 491.7 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.4539, allocations: 130.5 kB / 491.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.454, allocations: 63.41 kB / 491.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4541, allocations: 8.062 kB / 491.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.4543, allocations: 93.03 kB / 491.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.4543, allocations: 4 kB / 491.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004305/0.4547, allocations: 157.2 kB / 492.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.4548, allocations: 166.2 kB / 492.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.4552, allocations: 261 kB / 492.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.4552, allocations: 33.64 kB / 492.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.4553, allocations: 120.7 kB / 492.7 MB, free: 6.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.4553, allocations: 23.8 kB / 492.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4553, allocations: 0 / 492.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4555, allocations: 330.8 kB / 493 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.4555, allocations: 31.86 kB / 493 MB, free: 5.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.4557, allocations: 74.86 kB / 493.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.4558, allocations: 97.09 kB / 493.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4558, allocations: 0 / 493.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002281/0.4561, allocations: 129.4 kB / 493.3 MB, free: 5.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4561, allocations: 4 kB / 493.3 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4561, allocations: 4 kB / 493.3 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4561, allocations: 0 / 493.3 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.4562, allocations: 23.92 kB / 493.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4562, allocations: 0 / 493.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.4563, allocations: 11.94 kB / 493.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4563, allocations: 4 kB / 493.4 MB, free: 5.375 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001426/0.4565, allocations: 154.2 kB / 493.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.4566, allocations: 69.34 kB / 493.6 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.4568, allocations: 119.3 kB / 493.7 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4569, allocations: 4 kB / 493.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4569, allocations: 0 / 493.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4569, allocations: 0 / 493.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.4571, allocations: 237.5 kB / 494 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4572, allocations: 4.062 kB / 494 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.4572, allocations: 8 kB / 494 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.4572, allocations: 4 kB / 494 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4572, allocations: 4 kB / 494 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.4572, allocations: 4 kB / 494 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4572, allocations: 3.984 kB / 494 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.4575, allocations: 179.3 kB / 494.2 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4576, allocations: 116.8 kB / 494.3 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.4577, allocations: 11.98 kB / 494.3 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.4577, allocations: 4 kB / 494.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4578, allocations: 7.984 kB / 494.3 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4578, allocations: 4 kB / 494.3 MB, free: 4.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.4581, allocations: 196.5 kB / 494.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4581, allocations: 0 / 494.5 MB, free: 4.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.4583, allocations: 39.94 kB / 494.5 MB, free: 4.102 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001068/0.4594, allocations: 449.4 kB / 495 MB, free: 3.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.4597, allocations: 83.84 kB / 495 MB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4597, allocations: 0 / 495 MB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.4598, allocations: 36.23 kB / 495.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4602, allocations: 64.42 kB / 495.1 MB, free: 3.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.4608, allocations: 364.9 kB / 495.5 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4611, allocations: 0.736 MB / 496.2 MB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.459e-05/0.4612, allocations: 21.55 kB / 496.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.4613, allocations: 23.44 kB / 496.3 MB, free: 2.441 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4613, allocations: 0 / 496.3 MB, free: 2.441 MB / 362.7 MB Notification: Performance of Templates: time 0.006369/0.4677, allocations: 2.447 MB / 498.7 MB, free: 28 kB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches