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.001627/0.001627, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001878/0.001878, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.65/1.65, allocations: 225.6 MB / 252.5 MB, free: 13 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.001688/0.001688, allocations: 51.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3217, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003455/0.3251, allocations: 1.67 MB / 424.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3262, allocations: 0.5103 MB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3263, allocations: 0 / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.43e-05/0.3263, allocations: 11.86 kB / 425.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.3265, allocations: 15.88 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3269, allocations: 59.8 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.327, allocations: 63.78 kB / 425.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3272, allocations: 24.22 kB / 425.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.3273, allocations: 27.84 kB / 425.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.3273, allocations: 27.86 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.3274, allocations: 8 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.3274, allocations: 8 kB / 425.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.3274, allocations: 19.92 kB / 425.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.3275, allocations: 35.73 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3277, allocations: 84.84 kB / 425.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3277, allocations: 0 / 425.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3277, allocations: 0 / 425.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3277, allocations: 0 / 425.7 MB, free: 12.11 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.000592/0.3283, allocations: 321.8 kB / 426 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3283, allocations: 8.031 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3284, allocations: 16.89 kB / 426 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.3287, allocations: 145.4 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3287, allocations: 8.375 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3287, allocations: 4.375 kB / 426.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.3291, allocations: 149.2 kB / 426.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3291, allocations: 0 / 426.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3292, allocations: 0 / 426.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3292, allocations: 0 / 426.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3293, allocations: 31.98 kB / 426.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.33, allocations: 288.6 kB / 426.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3303, allocations: 73.19 kB / 426.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.3304, allocations: 29.8 kB / 426.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3304, allocations: 3.938 kB / 426.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.3306, allocations: 67.39 kB / 426.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.3306, allocations: 4 kB / 426.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003747/0.3309, allocations: 113.5 kB / 426.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.331, allocations: 85.11 kB / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3312, allocations: 141.8 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3312, allocations: 37.64 kB / 427.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.3313, allocations: 88.14 kB / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.3314, allocations: 23.83 kB / 427.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.3314, allocations: 25.72 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3316, allocations: 326.8 kB / 427.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.3317, allocations: 19.98 kB / 427.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3318, allocations: 65.08 kB / 427.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.332, allocations: 81.08 kB / 427.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.332, allocations: 0 / 427.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002421/0.3323, allocations: 117.5 kB / 427.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3323, allocations: 7.938 kB / 427.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3323, allocations: 0 / 427.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3323, allocations: 4 kB / 427.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.3324, allocations: 11.98 kB / 427.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.3324, allocations: 7.938 kB / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.127e-05/0.3325, allocations: 8 kB / 427.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3325, allocations: 4.156 kB / 428 MB, free: 9.582 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.0001457/0.3326, allocations: 143.6 kB / 428.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.3327, allocations: 53.61 kB / 428.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.3328, allocations: 12.39 kB / 428.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3328, allocations: 4 kB / 428.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3328, allocations: 4.25 kB / 428.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3328, allocations: 0 / 428.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.3333, allocations: 321.7 kB / 428.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3333, allocations: 4 kB / 428.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.3333, allocations: 11.98 kB / 428.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3333, allocations: 3.938 kB / 428.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3333, allocations: 0 / 428.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3333, allocations: 4 kB / 428.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3333, allocations: 3.938 kB / 428.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3336, allocations: 204.3 kB / 428.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3337, allocations: 23.83 kB / 428.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.3337, allocations: 4 kB / 428.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.3338, allocations: 4 kB / 428.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3338, allocations: 3.938 kB / 428.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3339, allocations: 7.984 kB / 428.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.517e-05/0.3339, allocations: 110.3 kB / 428.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3339, allocations: 3.938 kB / 428.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3342, allocations: 12 kB / 428.9 MB, free: 8.578 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.0001803/0.3344, allocations: 111.2 kB / 429 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.3346, allocations: 63.84 kB / 429 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3346, allocations: 0 / 429 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.3347, allocations: 19.98 kB / 429.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3351, allocations: 20.02 kB / 429.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.3356, allocations: 212.2 kB / 429.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.336, allocations: 0.7002 MB / 430 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.3361, allocations: 12.59 kB / 430 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.3361, allocations: 19.44 kB / 430 MB, free: 7.367 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3361, allocations: 0 / 430 MB, free: 7.367 MB / 334.1 MB Notification: Performance of Templates: time 0.00451/0.3406, allocations: 0.8437 MB / 430.9 MB, free: 6.535 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: 5.151502016931772]