Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 191.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 55.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2694, allocations: 52.19 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003311/0.2727, allocations: 1.627 MB / 424.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2737, allocations: 486.8 kB / 425.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2738, allocations: 3.938 kB / 425.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.2738, allocations: 3.938 kB / 425.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.274, allocations: 19.8 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.2743, allocations: 59.81 kB / 425.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2745, allocations: 63.78 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2746, allocations: 24.22 kB / 425.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.2747, allocations: 35.84 kB / 425.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.2747, allocations: 23.84 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2747, allocations: 8 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.2748, allocations: 4 kB / 425.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.2748, allocations: 11.94 kB / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.2749, allocations: 35.73 kB / 425.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.2751, allocations: 77.89 kB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2751, allocations: 0 / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2751, allocations: 0 / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2751, allocations: 0 / 425.5 MB, free: 12.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007447/0.2758, allocations: 333.8 kB / 425.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.2759, allocations: 12.03 kB / 425.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.2759, allocations: 8.891 kB / 425.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.2762, allocations: 146.3 kB / 426 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2762, allocations: 4.375 kB / 426 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.2762, allocations: 8.375 kB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.2766, allocations: 149.3 kB / 426.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2766, allocations: 0 / 426.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2766, allocations: 4 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2766, allocations: 0 / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.2768, allocations: 31.97 kB / 426.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.2773, allocations: 249.2 kB / 426.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.2775, allocations: 69.14 kB / 426.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.2776, allocations: 41.8 kB / 426.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2776, allocations: 3.984 kB / 426.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.2777, allocations: 59.41 kB / 426.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2777, allocations: 0 / 426.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003202/0.2781, allocations: 121.5 kB / 426.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.2781, allocations: 81.11 kB / 426.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2783, allocations: 148.2 kB / 427 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2783, allocations: 25.7 kB / 427 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.2784, allocations: 96.12 kB / 427.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2784, allocations: 15.84 kB / 427.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.2784, allocations: 33.7 kB / 427.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2786, allocations: 322.8 kB / 427.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.2787, allocations: 23.94 kB / 427.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.2787, allocations: 65.12 kB / 427.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.2789, allocations: 85.02 kB / 427.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2789, allocations: 0 / 427.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002066/0.2791, allocations: 113.5 kB / 427.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2791, allocations: 7.984 kB / 427.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2791, allocations: 0 / 427.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2791, allocations: 4 kB / 427.8 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.2792, allocations: 11.94 kB / 427.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2792, allocations: 8.141 kB / 427.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.2793, allocations: 15.92 kB / 427.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2793, allocations: 8.312 kB / 427.8 MB, free: 9.516 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: 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 (12): * Single equations (assignments): 12 * 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.0001069/0.2794, allocations: 125 kB / 427.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.2795, allocations: 69.52 kB / 428 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.2795, allocations: 8.406 kB / 428 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2795, allocations: 4 kB / 428 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.2795, allocations: 7.984 kB / 428 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2795, allocations: 0 / 428 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.2799, allocations: 274.2 kB / 428.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2799, allocations: 8 kB / 428.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.28, allocations: 19.92 kB / 428.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.28, allocations: 0 / 428.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.28, allocations: 0 / 428.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.28, allocations: 0 / 428.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.28, allocations: 4 kB / 428.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.2802, allocations: 196.2 kB / 428.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.2803, allocations: 31.89 kB / 428.5 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2803, allocations: 7.984 kB / 428.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.2803, allocations: 4 kB / 428.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.2804, allocations: 4 kB / 428.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2804, allocations: 7.984 kB / 428.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.2805, allocations: 113.8 kB / 428.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2805, allocations: 0 / 428.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.2807, allocations: 12 kB / 428.7 MB, free: 8.566 MB / 334.1 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 0.0001077/0.2808, allocations: 107.2 kB / 428.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.281, allocations: 63.84 kB / 428.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.281, allocations: 416 / 428.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.2811, allocations: 27.92 kB / 428.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2814, allocations: 16.25 kB / 428.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.2818, allocations: 208 kB / 429.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.914e-05/0.2819, allocations: 88.98 kB / 429.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.2819, allocations: 8.656 kB / 429.2 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.282, allocations: 11.44 kB / 429.2 MB, free: 7.988 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.282, allocations: 4 kB / 429.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of Templates: time 0.003692/0.2857, allocations: 0.8866 MB / 430.1 MB, free: 7.113 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.621407683938742]