Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002947/0.002947, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.617e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.005067/0.005093, allocations: 1.669 MB / 326.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.007, allocations: 0.5377 MB / 327.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.007137, allocations: 6.125 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.675e-05/0.007214, allocations: 13.42 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.007404, allocations: 13.47 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.007963, allocations: 70.59 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.008179, allocations: 65.14 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.008338, allocations: 17.92 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.008593, allocations: 46.44 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.008706, allocations: 21.69 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.008739, allocations: 4.406 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.008812, allocations: 7.922 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.008902, allocations: 28.58 kB / 327.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.008975, allocations: 22.17 kB / 327.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.009272, allocations: 84 kB / 327.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.009276, allocations: 0 / 327.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.009278, allocations: 1.312 kB / 327.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.009285, allocations: 0 / 327.7 MB, free: 14.86 MB / 302.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.0008287/0.01011, allocations: 322.2 kB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.01016, allocations: 9.719 kB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.01041, allocations: 23.56 kB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.01074, allocations: 154 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.01076, allocations: 3.812 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.01079, allocations: 8.5 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.01124, allocations: 132.4 kB / 328.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.01126, allocations: 7.906 kB / 328.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.01128, allocations: 8.641 kB / 328.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.0113, allocations: 0 / 328.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.01148, allocations: 34.83 kB / 328.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006337/0.01212, allocations: 243.2 kB / 328.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.01245, allocations: 81.3 kB / 328.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.01258, allocations: 35.47 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.01262, allocations: 1.938 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.0128, allocations: 63.58 kB / 328.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 5.871e-06/0.01281, allocations: 4 kB / 328.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005299/0.01333, allocations: 121 kB / 328.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.01344, allocations: 80.41 kB / 329 MB, free: 13.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.01367, allocations: 150.3 kB / 329.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.0137, allocations: 25.7 kB / 329.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.707e-05/0.0138, allocations: 93.89 kB / 329.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.01384, allocations: 19.38 kB / 329.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.01391, allocations: 31.09 kB / 329.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.01415, allocations: 323.5 kB / 329.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.01425, allocations: 21.14 kB / 329.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.01438, allocations: 49.33 kB / 329.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.01458, allocations: 58.73 kB / 329.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01458, allocations: 1.062 kB / 329.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003127/0.0149, allocations: 89.42 kB / 329.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.01492, allocations: 6.516 kB / 329.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01492, allocations: 1.375 kB / 329.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.01494, allocations: 5.594 kB / 329.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.01504, allocations: 7.859 kB / 329.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.01505, allocations: 1.094 kB / 329.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.01514, allocations: 7.281 kB / 329.9 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.01515, allocations: 3.391 kB / 329.9 MB, free: 13 MB / 302.1 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.0001689/0.01532, allocations: 127.7 kB / 330 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.01544, allocations: 55.91 kB / 330 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.01549, allocations: 12.64 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01549, allocations: 2.453 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.0155, allocations: 1.375 kB / 330 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.01551, allocations: 8.5 kB / 330.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.01605, allocations: 288.8 kB / 330.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01605, allocations: 1.672 kB / 330.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/0.01613, allocations: 10.03 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.778e-06/0.01614, allocations: 1.156 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01615, allocations: 2.438 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01615, allocations: 4.938 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.01616, allocations: 5.625 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.01655, allocations: 208 kB / 330.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.01662, allocations: 18.89 kB / 330.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.01666, allocations: 5.922 kB / 330.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.01679, allocations: 3.75 kB / 330.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.01684, allocations: 3.906 kB / 330.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01685, allocations: 8.734 kB / 330.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.01705, allocations: 119.6 kB / 330.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01705, allocations: 0 / 330.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.0175, allocations: 11.09 kB / 330.7 MB, free: 12.27 MB / 302.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.00018/0.01768, allocations: 104.5 kB / 330.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01795, allocations: 55.36 kB / 330.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.01796, allocations: 4 kB / 330.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.01805, allocations: 18.73 kB / 330.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.0186, allocations: 25.36 kB / 330.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.01924, allocations: 207.4 kB / 331.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.01938, allocations: 85.33 kB / 331.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.01944, allocations: 11.06 kB / 331.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.01949, allocations: 14.02 kB / 331.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.0195, allocations: 0 / 331.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Templates: time 0.006194/0.02569, allocations: 0.8304 MB / 332.1 MB, free: 11.62 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.445736598223448]