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.001278/0.001278, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001133/0.001133, allocations: 165.7 kB / 24.99 MB, free: 8.324 MB / 18.57 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.873e-06/1.873e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.824e-05, allocations: 2.312 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002823/0.002851, allocations: 1.693 MB / 274.8 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.003649, allocations: 0.5685 MB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.003735, allocations: 3.938 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.061e-05/0.003785, allocations: 3.938 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.003926, allocations: 19.86 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.004238, allocations: 67.67 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.004346, allocations: 75.7 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.004446, allocations: 12.22 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004565, allocations: 51.83 kB / 275.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.004613, allocations: 15.92 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.00463, allocations: 8 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.004668, allocations: 11.98 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.004712, allocations: 19.92 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.004745, allocations: 19.92 kB / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.004873, allocations: 59.8 kB / 275.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004875, allocations: 3.938 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004875, allocations: 4 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.00488, allocations: 0 / 275.7 MB, free: 15.15 MB / 266.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.0004226/0.005303, allocations: 424.2 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.005337, allocations: 8.031 kB / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.005459, allocations: 24.83 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.005622, allocations: 156.9 kB / 276.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.005632, allocations: 8.375 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.005642, allocations: 4.375 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.00587, allocations: 149.5 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005878, allocations: 3.938 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.005889, allocations: 4 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005896, allocations: 0 / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.005939, allocations: 11.98 kB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.006274, allocations: 311.3 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.006419, allocations: 78.11 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.006461, allocations: 31.45 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.006479, allocations: 7.938 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/0.006555, allocations: 57.06 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.006556, allocations: 0 / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001909/0.006747, allocations: 97.75 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.0068, allocations: 81.09 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006905, allocations: 200.9 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.006922, allocations: 33.7 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.006973, allocations: 142.8 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.006991, allocations: 12.02 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.007028, allocations: 39.31 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.00714, allocations: 0.4883 MB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.00716, allocations: 11.98 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.007191, allocations: 39 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/0.007244, allocations: 47.05 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007247, allocations: 0 / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.499e-05/0.007332, allocations: 89.5 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.007342, allocations: 8 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007347, allocations: 0 / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.007359, allocations: 0 / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.007406, allocations: 11.98 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.007412, allocations: 3.984 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.007434, allocations: 4 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.007438, allocations: 0 / 278.2 MB, free: 12.33 MB / 266.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 6.696e-05/0.007505, allocations: 168.5 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.007544, allocations: 61.64 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.007568, allocations: 12.47 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007571, allocations: 3.984 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.007574, allocations: 0 / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007578, allocations: 4 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.007785, allocations: 329.2 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007786, allocations: 0 / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.007813, allocations: 12.36 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.007814, allocations: 0 / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.007824, allocations: 8 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.007826, allocations: 4 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007827, allocations: 4 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.007952, allocations: 239.4 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.007979, allocations: 19.94 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.007996, allocations: 0 / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.428e-05/0.008031, allocations: 8 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.008059, allocations: 3.984 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.008067, allocations: 7.938 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.008121, allocations: 150.2 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008121, allocations: 0 / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001445/0.008265, allocations: 11.98 kB / 279.3 MB, free: 11.22 MB / 266.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 8.082e-05/0.008346, allocations: 110.5 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.008441, allocations: 39.61 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008443, allocations: 4 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.008471, allocations: 23.61 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.008702, allocations: 25.42 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.009134, allocations: 212.5 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.009172, allocations: 63.34 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.484e-05/0.009196, allocations: 12.84 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.009228, allocations: 16.48 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.051e-06/0.009229, allocations: 0 / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002324/0.01155, allocations: 0.8466 MB / 280.6 MB, free: 9.832 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] 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","",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.8898554989136755]