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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002096/0.002096, allocations: 222 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] 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=5013,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=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 64.12 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3874, allocations: 53.32 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003806/0.3912, allocations: 1.946 MB / 431.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3935, allocations: 1.246 MB / 433 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3936, allocations: 4 kB / 433 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.3944, allocations: 151.5 kB / 433.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.3948, allocations: 163.3 kB / 433.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.3955, allocations: 171.4 kB / 433.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.3958, allocations: 195.5 kB / 433.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3959, allocations: 21.67 kB / 433.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3961, allocations: 83.62 kB / 433.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3962, allocations: 83.61 kB / 433.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3962, allocations: 16 kB / 433.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.3964, allocations: 59.89 kB / 433.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.3965, allocations: 43.84 kB / 434 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.3966, allocations: 75.48 kB / 434 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.397, allocations: 220.3 kB / 434.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.397, allocations: 0 / 434.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.397, allocations: 0 / 434.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.397, allocations: 0 / 434.2 MB, free: 3.051 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.001147/0.3982, allocations: 0.531 MB / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3982, allocations: 8.031 kB / 434.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.3983, allocations: 28.8 kB / 434.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3987, allocations: 278.9 kB / 435.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3988, allocations: 4.375 kB / 435.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.3988, allocations: 8.375 kB / 435.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.3992, allocations: 166.8 kB / 435.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3992, allocations: 0 / 435.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3992, allocations: 7.984 kB / 435.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3992, allocations: 0 / 435.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3994, allocations: 39.92 kB / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.4001, allocations: 454.6 kB / 435.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.4003, allocations: 130.5 kB / 435.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.4004, allocations: 55.41 kB / 435.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.4005, allocations: 4 kB / 435.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.4007, allocations: 97 kB / 436 MB, free: 1.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.4007, allocations: 0 / 436 MB, free: 1.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004244/0.4011, allocations: 153.4 kB / 436.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4012, allocations: 166.5 kB / 436.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.4016, allocations: 277 kB / 436.6 MB, free: 392 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.4016, allocations: 29.7 kB / 436.6 MB, free: 356 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.4017, allocations: 120.4 kB / 436.8 MB, free: 228 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.4017, allocations: 15.91 kB / 436.8 MB, free: 212 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.4018, allocations: 37.66 kB / 436.8 MB, free: 168 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.402, allocations: 330.8 kB / 437.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.402, allocations: 31.92 kB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.4022, allocations: 86.22 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4023, allocations: 85.12 kB / 437.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.4023, allocations: 3.984 kB / 437.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002366/0.4026, allocations: 129.7 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4026, allocations: 8 kB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4026, allocations: 0 / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4026, allocations: 4 kB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.4027, allocations: 15.88 kB / 437.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4027, allocations: 8.156 kB / 437.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.4028, allocations: 15.88 kB / 437.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.4028, allocations: 8 kB / 437.5 MB, free: 15.4 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.0001645/0.403, allocations: 145.8 kB / 437.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4031, allocations: 73.48 kB / 437.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.4033, allocations: 107.3 kB / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4033, allocations: 64 / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4034, allocations: 8 kB / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4034, allocations: 3.984 kB / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4037, allocations: 237.5 kB / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4037, allocations: 0 / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.4037, allocations: 4 kB / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.4037, allocations: 4 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4037, allocations: 0 / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/0.4037, allocations: 4 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4037, allocations: 0 / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.404, allocations: 183.3 kB / 438.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.4042, allocations: 120.9 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.4042, allocations: 0 / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.4043, allocations: 4.125 kB / 438.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.4043, allocations: 11.98 kB / 438.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4043, allocations: 12 kB / 438.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4046, allocations: 204.5 kB / 438.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4046, allocations: 0 / 438.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4048, allocations: 31.94 kB / 438.7 MB, free: 14.15 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.001578/0.4064, allocations: 412.9 kB / 439.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.4067, allocations: 76.09 kB / 439.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4067, allocations: 0 / 439.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.4068, allocations: 35.86 kB / 439.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.4072, allocations: 67.56 kB / 439.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.408, allocations: 349.6 kB / 439.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.4085, allocations: 0.7358 MB / 440.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.39e-05/0.4086, allocations: 25.53 kB / 440.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.4086, allocations: 15.44 kB / 440.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4086, allocations: 0 / 440.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Templates: time 0.007782/0.4164, allocations: 2.592 MB / 442.9 MB, free: 9.949 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.210853947326541]