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.002334/0.002334, allocations: 87.67 kB / 20.96 MB, free: 3.445 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.002749/0.002749, allocations: 161.3 kB / 24.27 MB, free: 140 kB / 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.645/1.645, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.873e-06/1.873e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.424e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.00456/0.004594, allocations: 1.663 MB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.006215, allocations: 0.5608 MB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.006315, allocations: 7.938 kB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.111e-05/0.006396, allocations: 3.938 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.006566, allocations: 19.84 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.007006, allocations: 59.75 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.00719, allocations: 71.77 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.007318, allocations: 16.16 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.00752, allocations: 51.89 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.007597, allocations: 19.91 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.007628, allocations: 8 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.007681, allocations: 11.92 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.007745, allocations: 19.94 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.0078, allocations: 19.92 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.00804, allocations: 79.69 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.008044, allocations: 0 / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008046, allocations: 4 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.008052, allocations: 3.938 kB / 274.9 MB, free: 15.19 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.0007808/0.008832, allocations: 427.8 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.008875, allocations: 8.031 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.009098, allocations: 32.83 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.009416, allocations: 149 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.009434, allocations: 4.375 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.009457, allocations: 8.375 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.009913, allocations: 155.9 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.009929, allocations: 7.938 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.009946, allocations: 4 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.009951, allocations: 0 / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.01009, allocations: 23.98 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.01075, allocations: 307.4 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.01106, allocations: 90.09 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.0112, allocations: 43.45 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.01123, allocations: 7.938 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.01139, allocations: 65.06 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.01139, allocations: 0 / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004475/0.01184, allocations: 121.5 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.01194, allocations: 89.05 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.0122, allocations: 212.9 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.01223, allocations: 29.7 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01235, allocations: 146.9 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.01239, allocations: 15.89 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.01246, allocations: 35.33 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003484/0.01281, allocations: 0.5 MB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.01289, allocations: 16 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01301, allocations: 46.98 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.01319, allocations: 67.3 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01319, allocations: 0 / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000263/0.01345, allocations: 93.61 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01347, allocations: 4.062 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01348, allocations: 7.938 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.0135, allocations: 0 / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.01358, allocations: 8 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.0136, allocations: 3.984 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.01367, allocations: 11.95 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01368, allocations: 4 kB / 277.6 MB, free: 12.22 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 0.0004574/0.01414, allocations: 164.5 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.01426, allocations: 61.58 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.01431, allocations: 12.47 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01431, allocations: 0 / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01432, allocations: 8 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01432, allocations: 0 / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.01488, allocations: 337.4 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01488, allocations: 0 / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.01497, allocations: 19.92 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01497, allocations: 0 / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.01498, allocations: 0 / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.01499, allocations: 4 kB / 278.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01499, allocations: 0 / 278.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.0154, allocations: 259.4 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.01547, allocations: 27.88 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.0155, allocations: 3.984 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.0156, allocations: 4 kB / 278.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.01566, allocations: 8.062 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.01568, allocations: 11.94 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.01584, allocations: 154.2 kB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01585, allocations: 0 / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.01622, allocations: 16 kB / 278.7 MB, free: 11.08 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 0.0001797/0.0164, allocations: 99.47 kB / 278.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01666, allocations: 67.59 kB / 278.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01667, allocations: 0 / 278.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.01677, allocations: 31.61 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.01728, allocations: 29.42 kB / 278.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.01787, allocations: 212.3 kB / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.01801, allocations: 85.11 kB / 279.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.403e-05/0.01807, allocations: 12.84 kB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.01812, allocations: 12.5 kB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01812, allocations: 0 / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of Templates: time 0.005349/0.02347, allocations: 0.844 MB / 280.1 MB, free: 9.637 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","/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.655661717988551]