Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002039/0.002039, allocations: 220.1 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.651/1.651, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4585, allocations: 53.33 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.005383/0.4639, allocations: 1.946 MB / 434 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.4669, allocations: 1.243 MB / 435.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.4672, allocations: 0 / 435.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.468, allocations: 151.5 kB / 435.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.4686, allocations: 159.4 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006992/0.4693, allocations: 178.7 kB / 435.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.4697, allocations: 195.4 kB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4699, allocations: 25.67 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.47, allocations: 75.69 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.4702, allocations: 83.56 kB / 436.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.4702, allocations: 8 kB / 436.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.4704, allocations: 63.95 kB / 436.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.4705, allocations: 43.84 kB / 436.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.4706, allocations: 87.41 kB / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.4711, allocations: 216.6 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4711, allocations: 0 / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4711, allocations: 3.938 kB / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4712, allocations: 4 kB / 436.5 MB, free: 2.938 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.001029/0.4722, allocations: 0.5231 MB / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4722, allocations: 12.03 kB / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.4723, allocations: 20.8 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.4728, allocations: 278.9 kB / 437.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4728, allocations: 8.375 kB / 437.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4728, allocations: 12.11 kB / 437.3 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.4732, allocations: 174.2 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4732, allocations: 0 / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4733, allocations: 0 / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4733, allocations: 4 kB / 437.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.4734, allocations: 43.91 kB / 437.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.4741, allocations: 446.6 kB / 438 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.4744, allocations: 130.5 kB / 438.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4745, allocations: 51.42 kB / 438.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.4745, allocations: 4 kB / 438.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.4747, allocations: 93.03 kB / 438.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.4747, allocations: 0 / 438.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004815/0.4752, allocations: 161.4 kB / 438.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.4754, allocations: 158.2 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.4757, allocations: 284.9 kB / 438.9 MB, free: 284 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.4758, allocations: 26.08 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4759, allocations: 124.4 kB / 439 MB, free: 120 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.4759, allocations: 19.89 kB / 439 MB, free: 100 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.476, allocations: 33.67 kB / 439.1 MB, free: 60 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.4763, allocations: 334.8 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.4764, allocations: 23.98 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4765, allocations: 78.86 kB / 439.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.4766, allocations: 89.02 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4766, allocations: 8.031 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002421/0.4769, allocations: 121.5 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4769, allocations: 4 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4769, allocations: 4 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4769, allocations: 0 / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.477, allocations: 19.98 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.477, allocations: 3.938 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.483e-05/0.4771, allocations: 19.98 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4771, allocations: 11.94 kB / 439.8 MB, free: 15.3 MB / 350.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.0001858/0.4773, allocations: 146.1 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4774, allocations: 77.48 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4777, allocations: 103.4 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4777, allocations: 7.938 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4777, allocations: 0 / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4777, allocations: 7.938 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.478, allocations: 237.7 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.478, allocations: 0 / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.478, allocations: 7.938 kB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.478, allocations: 0 / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.478, allocations: 7.984 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.478, allocations: 0 / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.478, allocations: 4 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.4784, allocations: 175.4 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.4785, allocations: 105 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.4786, allocations: 8 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.4786, allocations: 11.92 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.4787, allocations: 7.938 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4787, allocations: 4 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.4789, allocations: 204.5 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4789, allocations: 4 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.4792, allocations: 35.88 kB / 440.9 MB, free: 14.05 MB / 350.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001669/0.4809, allocations: 421.1 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.4811, allocations: 75.84 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4811, allocations: 4.312 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/0.4812, allocations: 23.98 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.4817, allocations: 78.47 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.4825, allocations: 341.1 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.4829, allocations: 0.7438 MB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.483, allocations: 21.78 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.4831, allocations: 23.42 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4831, allocations: 0 / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Templates: time 0.0075/0.4906, allocations: 2.601 MB / 445.2 MB, free: 9.855 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.161087589804083]