Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.001435/0.001435, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001608/0.001608, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8858/0.8858, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.475e-05, allocations: 2.312 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.005251/0.005265, allocations: 1.69 MB / 275.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.00606, allocations: 0.5589 MB / 276.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.006137, allocations: 7.938 kB / 276.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.006179, allocations: 4.719 kB / 276.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.006304, allocations: 20.42 kB / 276.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.006571, allocations: 63.73 kB / 276.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.006678, allocations: 70.25 kB / 276.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.00676, allocations: 16.2 kB / 276.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.006872, allocations: 47.84 kB / 276.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.006921, allocations: 23.89 kB / 276.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.006937, allocations: 8 kB / 276.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.534e-05/0.006972, allocations: 8 kB / 276.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.007011, allocations: 21.86 kB / 276.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.007041, allocations: 19.92 kB / 276.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.00716, allocations: 63.67 kB / 276.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.007162, allocations: 4 kB / 276.8 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.007163, allocations: 0 / 276.8 MB, free: 1.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.007166, allocations: 0.5 kB / 276.8 MB, free: 1.773 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000624/0.00779, allocations: 420.8 kB / 277.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.007821, allocations: 8.031 kB / 277.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.007946, allocations: 32.83 kB / 277.3 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.008106, allocations: 156.9 kB / 277.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.008116, allocations: 4.375 kB / 277.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.008128, allocations: 8.375 kB / 277.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.008315, allocations: 141.6 kB / 277.6 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.008326, allocations: 7.938 kB / 277.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.008333, allocations: 0 / 277.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.008338, allocations: 0 / 277.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.008374, allocations: 11.98 kB / 277.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.008659, allocations: 276 kB / 277.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.008792, allocations: 78.09 kB / 277.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.008821, allocations: 27.31 kB / 278 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.008837, allocations: 8 kB / 278 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/0.008904, allocations: 65.12 kB / 278 MB, free: 400 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.008906, allocations: 7.922 kB / 278.1 MB, free: 392 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001589/0.009065, allocations: 89.52 kB / 278.1 MB, free: 296 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.009115, allocations: 85.11 kB / 278.2 MB, free: 192 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.00923, allocations: 199.9 kB / 278.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.009245, allocations: 25.7 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.009297, allocations: 142.8 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.009322, allocations: 11.89 kB / 278.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.009363, allocations: 31.36 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.009493, allocations: 0.4961 MB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.009509, allocations: 4 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.009544, allocations: 47.03 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.009598, allocations: 43 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.0096, allocations: 0 / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.336e-05/0.009693, allocations: 69.58 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.009704, allocations: 7.984 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.009708, allocations: 4 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.009717, allocations: 0 / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.009765, allocations: 12 kB / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.009767, allocations: 4.062 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.009796, allocations: 4.266 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.009801, allocations: 4 kB / 279.3 MB, free: 15.02 MB / 266.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: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * 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.295e-05/0.009884, allocations: 175.4 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.009929, allocations: 49.66 kB / 279.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.009957, allocations: 12.45 kB / 279.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.00996, allocations: 8 kB / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009962, allocations: 0 / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009966, allocations: 0 / 279.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.01018, allocations: 302 kB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.01019, allocations: 4 kB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.01022, allocations: 15.98 kB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01022, allocations: 0 / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.01023, allocations: 0 / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.01023, allocations: 4 kB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.01023, allocations: 3.984 kB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.01036, allocations: 223.4 kB / 280.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.0104, allocations: 23.88 kB / 280.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01042, allocations: 3.938 kB / 280.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.01047, allocations: 4 kB / 280.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.0105, allocations: 7.984 kB / 280.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.01051, allocations: 4 kB / 280.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.793e-05/0.01057, allocations: 155.1 kB / 280.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01057, allocations: 0 / 280.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.01078, allocations: 8 kB / 280.3 MB, free: 13.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 6.731e-05/0.01085, allocations: 107.5 kB / 280.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.504e-05/0.01092, allocations: 35.61 kB / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.01092, allocations: 0 / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.01095, allocations: 27.59 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01116, allocations: 25.42 kB / 280.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.01151, allocations: 208.6 kB / 280.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.01155, allocations: 67.34 kB / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.01158, allocations: 5.109 kB / 280.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.01163, allocations: 86.12 kB / 280.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01163, allocations: 0 / 280.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of Templates: time 0.002321/0.01395, allocations: 0.9152 MB / 281.8 MB, free: 12.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.487984176725149]