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.001095/0.001095, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001031/0.001031, allocations: 143.5 kB / 24.89 MB, free: 8.793 MB / 18.57 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 0.8834/0.8834, allocations: 173.4 MB / 201.5 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] 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 1.232e-06/1.232e-06, allocations: 0 / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.346e-05, allocations: 6.312 kB / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001876/0.001889, allocations: 1.678 MB / 270.2 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.002516, allocations: 0.4999 MB / 270.7 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.002586, allocations: 4 kB / 270.7 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.002629, allocations: 13.58 kB / 270.7 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.002743, allocations: 11.86 kB / 270.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.002956, allocations: 55.75 kB / 270.8 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.859e-05/0.003045, allocations: 71.77 kB / 270.8 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.109e-05/0.003116, allocations: 16.69 kB / 270.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.00319, allocations: 49.05 kB / 270.9 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.003231, allocations: 15.98 kB / 270.9 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.003248, allocations: 4 kB / 270.9 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.003259, allocations: 4.5 kB / 270.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.003303, allocations: 20.5 kB / 270.9 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.003328, allocations: 27.86 kB / 271 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.003424, allocations: 49.78 kB / 271 MB, free: 7.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003425, allocations: 0 / 271 MB, free: 7.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.003426, allocations: 4 kB / 271 MB, free: 7.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.425e-06/0.003429, allocations: 0 / 271 MB, free: 7.258 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.0002881/0.003717, allocations: 292.5 kB / 271.3 MB, free: 6.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.003743, allocations: 13.81 kB / 271.3 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.00377, allocations: 12.92 kB / 271.3 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.003889, allocations: 145.6 kB / 271.5 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.003896, allocations: 5.156 kB / 271.5 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.003906, allocations: 8.375 kB / 271.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.004059, allocations: 138.6 kB / 271.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.004064, allocations: 0.9062 kB / 271.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.00407, allocations: 4.312 kB / 271.6 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.004075, allocations: 10.62 kB / 271.6 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.004098, allocations: 8 kB / 271.6 MB, free: 6.574 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.004306, allocations: 169.1 kB / 271.8 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.004399, allocations: 61.08 kB / 271.9 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.004422, allocations: 25.86 kB / 271.9 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.004435, allocations: 4.5 kB / 271.9 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.004487, allocations: 68.16 kB / 272 MB, free: 6.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.004488, allocations: 0 / 272 MB, free: 6.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001041/0.004592, allocations: 74.09 kB / 272 MB, free: 6.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.004636, allocations: 81.11 kB / 272.1 MB, free: 6.023 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.004697, allocations: 138.7 kB / 272.3 MB, free: 5.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.004707, allocations: 25.7 kB / 272.3 MB, free: 5.844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.004735, allocations: 92.11 kB / 272.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.004752, allocations: 19.89 kB / 272.4 MB, free: 5.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.004779, allocations: 25.7 kB / 272.4 MB, free: 5.699 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.004843, allocations: 314.8 kB / 272.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.004855, allocations: 8 kB / 272.7 MB, free: 5.375 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.004876, allocations: 30.55 kB / 272.8 MB, free: 5.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.004913, allocations: 34.5 kB / 272.8 MB, free: 5.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004915, allocations: 4 kB / 272.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.706e-05/0.004972, allocations: 65.61 kB / 272.9 MB, free: 5.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.004982, allocations: 7.938 kB / 272.9 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.004986, allocations: 4 kB / 272.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.004994, allocations: 0 / 272.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.005033, allocations: 11.92 kB / 272.9 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.005037, allocations: 4 kB / 272.9 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.005056, allocations: 4.266 kB / 272.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005061, allocations: 4 kB / 272.9 MB, free: 5.184 MB / 250.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 5.582e-05/0.005117, allocations: 124.7 kB / 273 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.005148, allocations: 45.62 kB / 273.1 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.005177, allocations: 24.45 kB / 273.1 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005179, allocations: 3.938 kB / 273.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.00518, allocations: 0 / 273.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.005184, allocations: 0 / 273.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.005319, allocations: 202.8 kB / 273.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005319, allocations: 0 / 273.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.005347, allocations: 27.8 kB / 273.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005348, allocations: 0 / 273.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.005353, allocations: 0 / 273.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.005355, allocations: 8 kB / 273.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005355, allocations: 0 / 273.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.029e-05/0.005415, allocations: 144.4 kB / 273.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.005439, allocations: 19.89 kB / 273.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.005452, allocations: 3.984 kB / 273.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.005484, allocations: 4 kB / 273.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.005504, allocations: 4 kB / 273.5 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.005508, allocations: 4 kB / 273.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.314e-05/0.005531, allocations: 31.56 kB / 273.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005531, allocations: 0 / 273.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001232/0.005654, allocations: 19.95 kB / 273.5 MB, free: 4.465 MB / 250.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 5.777e-05/0.005712, allocations: 84.59 kB / 273.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.005773, allocations: 40.78 kB / 273.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.005777, allocations: 4 kB / 273.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.005797, allocations: 20.83 kB / 273.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.005949, allocations: 23.48 kB / 273.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.006284, allocations: 206.8 kB / 273.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.006318, allocations: 67.47 kB / 274 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.335e-05/0.006342, allocations: 12.31 kB / 274 MB, free: 3.949 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.006388, allocations: 55.38 kB / 274 MB, free: 3.895 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006389, allocations: 0 / 274 MB, free: 3.895 MB / 250.7 MB Notification: Performance of Templates: time 0.002085/0.008474, allocations: 0.8764 MB / 274.9 MB, free: 3.043 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] 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","",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.433435844257474]