Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007784/0.0007784, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00465/0.00465, allocations: 158.6 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8608/0.8608, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.371e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.0029/0.002924, allocations: 1.918 MB / 327.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.004291, allocations: 1.169 MB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.004379, allocations: 7.938 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.004782, allocations: 151.4 kB / 329.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.005074, allocations: 163.2 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.005346, allocations: 179.7 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.005546, allocations: 195.4 kB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.005638, allocations: 25.78 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.005743, allocations: 103.7 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.005828, allocations: 71.73 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.005844, allocations: 8 kB / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.005939, allocations: 63.84 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.005995, allocations: 47.83 kB / 329.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.006042, allocations: 43.84 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.006313, allocations: 219.2 kB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006316, allocations: 0 / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006316, allocations: 4 kB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006321, allocations: 0 / 330.2 MB, free: 11.07 MB / 298.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.0004729/0.006794, allocations: 458.6 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.006824, allocations: 8.031 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.006867, allocations: 24.78 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.007094, allocations: 204.9 kB / 330.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.007108, allocations: 12.31 kB / 330.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.00712, allocations: 4.375 kB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.007346, allocations: 163.2 kB / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.007353, allocations: 3.938 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.007362, allocations: 4 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.007366, allocations: 0 / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.007433, allocations: 43.91 kB / 331.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.007754, allocations: 378.3 kB / 331.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.007907, allocations: 142.3 kB / 331.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.007964, allocations: 59.41 kB / 331.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.007981, allocations: 3.984 kB / 331.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.008089, allocations: 97.09 kB / 331.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.00809, allocations: 4 kB / 331.7 MB, free: 9.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002338/0.008324, allocations: 165.7 kB / 331.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.008379, allocations: 132.5 kB / 332 MB, free: 8.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.008566, allocations: 285.8 kB / 332.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.008579, allocations: 25.7 kB / 332.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.008638, allocations: 120.4 kB / 332.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.008657, allocations: 15.91 kB / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.00869, allocations: 29.66 kB / 332.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.008771, allocations: 330.8 kB / 332.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.008803, allocations: 20 kB / 332.8 MB, free: 8.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.00886, allocations: 77.06 kB / 332.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.00893, allocations: 66.81 kB / 333 MB, free: 7.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.008933, allocations: 8 kB / 333 MB, free: 7.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000105/0.009038, allocations: 105.5 kB / 333.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.009048, allocations: 4 kB / 333.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009053, allocations: 0 / 333.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.009063, allocations: 4 kB / 333.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.009109, allocations: 15.92 kB / 333.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.009113, allocations: 0 / 333.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.009147, allocations: 16 kB / 333.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.00943, allocations: 4 kB / 333.1 MB, free: 7.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.012e-05/0.009511, allocations: 141.8 kB / 333.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.009561, allocations: 73.48 kB / 333.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.009695, allocations: 111.4 kB / 333.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009697, allocations: 4 kB / 333.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009701, allocations: 0 / 333.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.009705, allocations: 4 kB / 333.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.009824, allocations: 177.2 kB / 333.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.009826, allocations: 4 kB / 333.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.009842, allocations: 7.938 kB / 333.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.009844, allocations: 4 kB / 333.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.009851, allocations: 0 / 333.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009852, allocations: 4.188 kB / 333.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009853, allocations: 0 / 333.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.009996, allocations: 195.3 kB / 333.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.01004, allocations: 35.81 kB / 333.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01006, allocations: 4 kB / 333.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.01009, allocations: 12 kB / 333.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.01012, allocations: 7.984 kB / 333.9 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01013, allocations: 8.062 kB / 333.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.01025, allocations: 205.2 kB / 334.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01025, allocations: 0 / 334.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.01041, allocations: 24 kB / 334.1 MB, free: 6.723 MB / 298.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.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,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 (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.0006664/0.01107, allocations: 449.1 kB / 334.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.01121, allocations: 71.91 kB / 334.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01121, allocations: 0 / 334.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.01126, allocations: 31.92 kB / 334.7 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01149, allocations: 84.53 kB / 334.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.01189, allocations: 375.9 kB / 335.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.707e-05/0.01197, allocations: 124 kB / 335.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.012, allocations: 24.47 kB / 335.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.012, allocations: 0 / 335.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of Templates: time 0.002897/0.0149, allocations: 2.781 MB / 338.1 MB, free: 2.934 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.564022081904113]