Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001206, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 71.86 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4575, allocations: 50.55 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004329/0.4619, allocations: 1.906 MB / 411.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.4646, allocations: 1.216 MB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.4648, allocations: 4 kB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.4657, allocations: 159 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.4662, allocations: 159.3 kB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.4669, allocations: 167.5 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.4672, allocations: 199.4 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.4674, allocations: 37.66 kB / 413.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.4675, allocations: 87.62 kB / 413.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.4677, allocations: 75.62 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.4677, allocations: 12 kB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.4679, allocations: 51.97 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.611e-05/0.4681, allocations: 47.78 kB / 413.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.4682, allocations: 83.47 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.4686, allocations: 215 kB / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4686, allocations: 0 / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4687, allocations: 0 / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.4687, allocations: 0 / 413.6 MB, free: 13.2 MB / 334.1 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.001087/0.4698, allocations: 0.5248 MB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4698, allocations: 8.031 kB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.4699, allocations: 24.66 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.4703, allocations: 270.8 kB / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4703, allocations: 384 / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.4704, allocations: 16.12 kB / 414.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.4708, allocations: 167.5 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4708, allocations: 3.938 kB / 414.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4709, allocations: 7.938 kB / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.4709, allocations: 0 / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.471, allocations: 39.92 kB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.4718, allocations: 458.4 kB / 415.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.4721, allocations: 138.5 kB / 415.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/0.4722, allocations: 55.42 kB / 415.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.4722, allocations: 4 kB / 415.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.4724, allocations: 93.03 kB / 415.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4725, allocations: 0 / 415.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004394/0.4729, allocations: 161.6 kB / 415.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.473, allocations: 158.2 kB / 415.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.4733, allocations: 281 kB / 416 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4734, allocations: 25.7 kB / 416 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.4735, allocations: 120.4 kB / 416.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.4735, allocations: 15.81 kB / 416.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.4736, allocations: 37.61 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4737, allocations: 338.8 kB / 416.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.4738, allocations: 20 kB / 416.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.4739, allocations: 82.78 kB / 416.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.4741, allocations: 89.11 kB / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4741, allocations: 0 / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002307/0.4743, allocations: 125.4 kB / 416.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4743, allocations: 4.156 kB / 416.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4743, allocations: 4.312 kB / 416.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4744, allocations: 4 kB / 416.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.4745, allocations: 23.92 kB / 416.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4745, allocations: 0 / 416.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.4746, allocations: 19.78 kB / 416.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.4746, allocations: 4 kB / 416.9 MB, free: 9.559 MB / 334.1 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.4748, allocations: 149.8 kB / 417 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.4749, allocations: 73.44 kB / 417.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.4749, allocations: 25.7 kB / 417.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.475, allocations: 4 kB / 417.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.475, allocations: 0 / 417.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.475, allocations: 7.938 kB / 417.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4752, allocations: 233.6 kB / 417.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.4752, allocations: 0 / 417.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.4753, allocations: 8 kB / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.4753, allocations: 0 / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4753, allocations: 4 kB / 417.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4753, allocations: 7.922 kB / 417.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4753, allocations: 12 kB / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.4756, allocations: 171.3 kB / 417.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4757, allocations: 108.8 kB / 417.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.4758, allocations: 8 kB / 417.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.4758, allocations: 8 kB / 417.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.4759, allocations: 15.86 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4759, allocations: 4 kB / 417.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.4762, allocations: 200.5 kB / 417.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4762, allocations: 0 / 417.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.4765, allocations: 35.94 kB / 418 MB, free: 8.391 MB / 334.1 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.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001291/0.4778, allocations: 420.7 kB / 418.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.4781, allocations: 75.91 kB / 418.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4781, allocations: 3.938 kB / 418.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.4782, allocations: 27.98 kB / 418.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.4788, allocations: 65.58 kB / 418.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.4796, allocations: 338.2 kB / 418.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.4801, allocations: 0.7361 MB / 419.6 MB, free: 6.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.439e-05/0.4802, allocations: 25.53 kB / 419.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.4803, allocations: 23.44 kB / 419.6 MB, free: 6.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4803, allocations: 0 / 419.6 MB, free: 6.77 MB / 334.1 MB Notification: Performance of Templates: time 0.007584/0.4879, allocations: 2.555 MB / 422.2 MB, free: 4.234 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches