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.0009363/0.0009363, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001576/0.001576, allocations: 142.8 kB / 24.89 MB, free: 8.781 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.9303/0.9303, allocations: 173.3 MB / 201.5 MB, free: 9.156 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 2.615e-06/2.615e-06, allocations: 4 kB / 268.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.429e-05, allocations: 10.19 kB / 268.5 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002993/0.003017, allocations: 1.733 MB / 270.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.003893, allocations: 0.5023 MB / 270.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.003979, allocations: 3.938 kB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.036e-05/0.004029, allocations: 7.922 kB / 270.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.004169, allocations: 11.88 kB / 270.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.004444, allocations: 59.73 kB / 270.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.004565, allocations: 63.78 kB / 270.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.004669, allocations: 24.16 kB / 270.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.004802, allocations: 43.89 kB / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.004866, allocations: 15.92 kB / 271 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.004892, allocations: 11.98 kB / 271 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.004905, allocations: 7.938 kB / 271 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.004953, allocations: 15.92 kB / 271 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.004989, allocations: 23.92 kB / 271 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.005116, allocations: 55.73 kB / 271.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005119, allocations: 0 / 271.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00512, allocations: 0 / 271.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005123, allocations: 4 kB / 271.1 MB, free: 3.496 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.0003614/0.005485, allocations: 296.5 kB / 271.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.005519, allocations: 8.922 kB / 271.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.005555, allocations: 16.92 kB / 271.4 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.005727, allocations: 137.6 kB / 271.5 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.00574, allocations: 8.375 kB / 271.6 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.00575, allocations: 4.375 kB / 271.6 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.005948, allocations: 134.2 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.005957, allocations: 192 / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.005966, allocations: 4.375 kB / 271.7 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.005975, allocations: 7.922 kB / 271.7 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.006007, allocations: 11.94 kB / 271.7 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.006286, allocations: 173.1 kB / 271.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.006414, allocations: 65.14 kB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.006442, allocations: 25.8 kB / 272 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.006461, allocations: 0 / 272 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.006531, allocations: 59.33 kB / 272 MB, free: 2.441 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.006532, allocations: 4 kB / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001411/0.006673, allocations: 69.8 kB / 272.1 MB, free: 2.363 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.006731, allocations: 81.05 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.006819, allocations: 145.7 kB / 272.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.006833, allocations: 25.7 kB / 272.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.006869, allocations: 92.06 kB / 272.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.006893, allocations: 23.83 kB / 272.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.006935, allocations: 29.69 kB / 272.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.007023, allocations: 318.8 kB / 272.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.007039, allocations: 7.984 kB / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.007069, allocations: 30.58 kB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.007124, allocations: 38.5 kB / 272.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007126, allocations: 0 / 272.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.156e-05/0.007218, allocations: 65.61 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007232, allocations: 7.938 kB / 273 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007236, allocations: 64 / 273 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007249, allocations: 8 kB / 273 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.007311, allocations: 7.984 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.007315, allocations: 4 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.007346, allocations: 3.953 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.007354, allocations: 4 kB / 273 MB, free: 1.41 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 7.512e-05/0.007429, allocations: 127.6 kB / 273.1 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.007476, allocations: 45.62 kB / 273.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.007511, allocations: 20.69 kB / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.007514, allocations: 0 / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.007516, allocations: 0 / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.00752, allocations: 7.984 kB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.007695, allocations: 202.8 kB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.007698, allocations: 3.984 kB / 273.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.007732, allocations: 15.94 kB / 273.4 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007735, allocations: 0 / 273.4 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.00774, allocations: 0 / 273.4 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.007743, allocations: 4 kB / 273.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007744, allocations: 128 / 273.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.281e-05/0.007817, allocations: 156.3 kB / 273.5 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.007842, allocations: 23.88 kB / 273.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.007856, allocations: 4 kB / 273.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.007889, allocations: 4 kB / 273.6 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.00791, allocations: 4 kB / 273.6 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.007914, allocations: 7.984 kB / 273.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.016e-05/0.007935, allocations: 28.78 kB / 273.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007935, allocations: 3.938 kB / 273.6 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001279/0.008062, allocations: 16 kB / 273.6 MB, free: 0.6836 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 7.716e-05/0.00814, allocations: 88.36 kB / 273.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.507e-05/0.008205, allocations: 36.78 kB / 273.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.008207, allocations: 0 / 273.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.00823, allocations: 24.91 kB / 273.8 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.008398, allocations: 24.39 kB / 273.8 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.008754, allocations: 206.7 kB / 274 MB, free: 272 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.008789, allocations: 67.33 kB / 274.1 MB, free: 184 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.008811, allocations: 4 kB / 274.1 MB, free: 180 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.008862, allocations: 63.36 kB / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008862, allocations: 0 / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of Templates: time 0.002221/0.01108, allocations: 0.8708 MB / 275 MB, free: 15.27 MB / 266.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 -s gbode -gbm=radauIIA3 -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.386560069862753]