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.001077/0.001077, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001003/0.001003, allocations: 161 kB / 24.56 MB, free: 12 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.039/1.039, allocations: 177.1 MB / 205 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.833e-06/1.833e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.799e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002573/0.002601, allocations: 1.7 MB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.00376, allocations: 0.5686 MB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.0039, allocations: 4 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.175e-05/0.003981, allocations: 7.875 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.004225, allocations: 23.84 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.004622, allocations: 63.73 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.004752, allocations: 63.78 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004868, allocations: 16.22 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.005022, allocations: 55.77 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.005087, allocations: 23.89 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.005109, allocations: 4 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-05/0.005161, allocations: 16 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.00522, allocations: 15.92 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.005263, allocations: 19.92 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.005412, allocations: 59.75 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005414, allocations: 0 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005415, allocations: 0 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.00542, allocations: 0 / 275.6 MB, free: 14.86 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.0004989/0.005919, allocations: 428.1 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.005965, allocations: 8.031 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.006099, allocations: 24.83 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.006338, allocations: 161 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.00635, allocations: 384 / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.006369, allocations: 12.38 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.006694, allocations: 144.3 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.006707, allocations: 3.938 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.00672, allocations: 4 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.006729, allocations: 4 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.82e-05/0.006778, allocations: 15.98 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.007218, allocations: 307.3 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.007405, allocations: 78.11 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.00745, allocations: 35.39 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.007477, allocations: 7.984 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.509e-05/0.007562, allocations: 61 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.007564, allocations: 0 / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002096/0.007773, allocations: 101.7 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.00784, allocations: 85.11 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.007947, allocations: 196.9 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.007963, allocations: 25.7 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.008025, allocations: 146.8 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.008045, allocations: 7.953 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.008086, allocations: 35.31 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.008222, allocations: 0.4922 MB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.008244, allocations: 8.047 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.008278, allocations: 46.98 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.008331, allocations: 51.06 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.008334, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.923e-05/0.008423, allocations: 73.58 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.008437, allocations: 8 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008441, allocations: 0 / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.008457, allocations: 0 / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.008515, allocations: 15.92 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.008522, allocations: 3.984 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.008545, allocations: 4 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.008551, allocations: 4.062 kB / 278.2 MB, free: 12.03 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 8.188e-05/0.008633, allocations: 164.5 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.008678, allocations: 57.58 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.008712, allocations: 20.45 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008714, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.008718, allocations: 4 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.008722, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.00895, allocations: 325.3 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008951, allocations: 0 / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.008985, allocations: 15.94 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008988, allocations: 4 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.008997, allocations: 4 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008998, allocations: 128 / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.008999, allocations: 7.938 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.009142, allocations: 243.4 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.009171, allocations: 15.94 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.009191, allocations: 4 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.009225, allocations: 4 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.009258, allocations: 3.984 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.009268, allocations: 7.938 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.009329, allocations: 154.2 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009329, allocations: 4 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.009474, allocations: 8 kB / 279.2 MB, free: 10.93 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.379e-05/0.009558, allocations: 107.5 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.009667, allocations: 43.61 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009668, allocations: 0 / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.009698, allocations: 23.61 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.009946, allocations: 25.42 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.01043, allocations: 216.5 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01047, allocations: 63.42 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.0105, allocations: 8.719 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.01053, allocations: 16.5 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01053, allocations: 0 / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Templates: time 0.002707/0.01324, allocations: 0.8488 MB / 280.5 MB, free: 9.531 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: 3.0729970978572965]