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.002488/0.002488, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002833/0.002833, allocations: 149.5 kB / 24.26 MB, free: 168 kB / 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 1.573/1.573, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 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 1.312e-06/1.312e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.909e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003162/0.003191, allocations: 1.643 MB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.004184, allocations: 0.4945 MB / 269.5 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.004258, allocations: 3.938 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.004309, allocations: 7.922 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.00444, allocations: 15.81 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.004726, allocations: 55.81 kB / 269.6 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.004855, allocations: 63.77 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004962, allocations: 16.22 kB / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.005069, allocations: 47.77 kB / 269.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.005125, allocations: 23.92 kB / 269.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.005147, allocations: 4 kB / 269.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.005163, allocations: 4 kB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.005221, allocations: 27.91 kB / 269.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.005265, allocations: 19.92 kB / 269.8 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.005423, allocations: 75.75 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005425, allocations: 0 / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005425, allocations: 0 / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005429, allocations: 0 / 269.8 MB, free: 4.203 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.0005957/0.006025, allocations: 431.8 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.00606, allocations: 12.92 kB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.006111, allocations: 16.89 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.006335, allocations: 148.4 kB / 270.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.006351, allocations: 8.375 kB / 270.4 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.006365, allocations: 4.375 kB / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.006707, allocations: 152.8 kB / 270.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.006718, allocations: 4.188 kB / 270.6 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.006727, allocations: 384 / 270.6 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.006734, allocations: 3.938 kB / 270.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.006847, allocations: 35.92 kB / 270.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.007384, allocations: 307.4 kB / 270.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.007618, allocations: 90.11 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.007705, allocations: 39.45 kB / 271.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.007733, allocations: 3.938 kB / 271.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.007871, allocations: 80.98 kB / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.007872, allocations: 0 / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003283/0.008201, allocations: 113.5 kB / 271.3 MB, free: 2.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.008287, allocations: 81.11 kB / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.008484, allocations: 209.9 kB / 271.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.008508, allocations: 29.7 kB / 271.6 MB, free: 2.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.00861, allocations: 138.9 kB / 271.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.008634, allocations: 15.91 kB / 271.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.008703, allocations: 35.36 kB / 271.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.008996, allocations: 0.4884 MB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.009057, allocations: 23.98 kB / 272.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.009134, allocations: 46.98 kB / 272.3 MB, free: 1.469 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.009267, allocations: 70.98 kB / 272.4 MB, free: 1.387 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.009269, allocations: 0 / 272.4 MB, free: 1.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001844/0.009453, allocations: 89.52 kB / 272.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.009469, allocations: 11.94 kB / 272.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.009473, allocations: 0 / 272.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.009486, allocations: 4.062 kB / 272.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.009562, allocations: 19.92 kB / 272.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.009568, allocations: 0 / 272.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.009618, allocations: 4.312 kB / 272.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.009625, allocations: 0 / 272.5 MB, free: 1.254 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 0.0001424/0.009767, allocations: 171.3 kB / 272.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.00986, allocations: 65.53 kB / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.009902, allocations: 20.45 kB / 272.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009904, allocations: 0 / 272.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.009907, allocations: 0 / 272.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.009911, allocations: 3.938 kB / 272.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.01033, allocations: 345.4 kB / 273.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01033, allocations: 4 kB / 273.1 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.01038, allocations: 4 kB / 273.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01039, allocations: 7.984 kB / 273.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.0104, allocations: 4.172 kB / 273.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.0104, allocations: 0 / 273.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0104, allocations: 0 / 273.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.01093, allocations: 259.5 kB / 273.4 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.01098, allocations: 27.88 kB / 273.4 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.011, allocations: 4 kB / 273.4 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.01107, allocations: 8 kB / 273.4 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.01111, allocations: 7.984 kB / 273.4 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01112, allocations: 0 / 273.4 MB, free: 264 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.01123, allocations: 150.3 kB / 273.6 MB, free: 116 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01123, allocations: 0 / 273.6 MB, free: 116 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.01146, allocations: 16 kB / 273.6 MB, free: 100 kB / 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 0.0001658/0.01162, allocations: 99.23 kB / 273.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.01183, allocations: 67.59 kB / 273.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01183, allocations: 0 / 273.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.0119, allocations: 31.75 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.01223, allocations: 32.02 kB / 273.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.01267, allocations: 208.5 kB / 274 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.01277, allocations: 85.11 kB / 274.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.01281, allocations: 11.89 kB / 274.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.01285, allocations: 12.5 kB / 274.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01285, allocations: 4 kB / 274.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.003899/0.01674, allocations: 0.8538 MB / 275 MB, free: 14.65 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 -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","/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.346085190074518]