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.0007874/0.0007874, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003143/0.003143, allocations: 159.2 kB / 24.7 MB, free: 9.41 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 0.8558/0.8558, allocations: 177.1 MB / 205 MB, free: 5.734 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.503e-06/1.503e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.23e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002185/0.002207, allocations: 1.663 MB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.002918, allocations: 0.5451 MB / 328.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.002994, allocations: 4 kB / 328.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.003038, allocations: 11.86 kB / 328.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.003163, allocations: 11.88 kB / 328.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.003447, allocations: 75.67 kB / 328.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.003548, allocations: 63.77 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.003644, allocations: 16.23 kB / 328.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.003759, allocations: 51.75 kB / 328.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.003813, allocations: 23.91 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.003828, allocations: 4 kB / 328.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.003867, allocations: 12 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.003913, allocations: 19.92 kB / 328.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.003945, allocations: 23.91 kB / 328.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.004088, allocations: 79.7 kB / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.004089, allocations: 0 / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00409, allocations: 0 / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.004094, allocations: 0 / 328.4 MB, free: 12.82 MB / 298.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.0004094/0.004503, allocations: 329.9 kB / 328.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004538, allocations: 8.031 kB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.004649, allocations: 24.83 kB / 328.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.004822, allocations: 142.1 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.004834, allocations: 8.375 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.004846, allocations: 8.375 kB / 329 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.005087, allocations: 137.6 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005097, allocations: 3.938 kB / 329.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.005108, allocations: 7.984 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005112, allocations: 0 / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.005181, allocations: 35.92 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.005519, allocations: 249.3 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.005677, allocations: 77.06 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.005723, allocations: 37.8 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.005743, allocations: 0 / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.927e-05/0.005823, allocations: 63.39 kB / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.005823, allocations: 0 / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002186/0.006042, allocations: 129.4 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.006096, allocations: 85.11 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.006183, allocations: 148.8 kB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.006194, allocations: 25.7 kB / 329.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.00624, allocations: 96.08 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.006259, allocations: 15.89 kB / 330 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.006288, allocations: 25.67 kB / 330.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.006368, allocations: 326.8 kB / 330.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.006403, allocations: 19.98 kB / 330.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.00644, allocations: 38.56 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.00651, allocations: 62.75 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006511, allocations: 0 / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001026/0.006614, allocations: 93.61 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.006626, allocations: 8 kB / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00663, allocations: 192 / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.006642, allocations: 0 / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.006688, allocations: 11.98 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006693, allocations: 4.062 kB / 330.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.006718, allocations: 11.94 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.006723, allocations: 0 / 330.6 MB, free: 10.41 MB / 298.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 7.195e-05/0.006795, allocations: 133.7 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.006833, allocations: 49.66 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.006859, allocations: 16.45 kB / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.00686, allocations: 0 / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006865, allocations: 0 / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006868, allocations: 0 / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.007072, allocations: 290.1 kB / 331.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007073, allocations: 4 kB / 331.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.007101, allocations: 11.98 kB / 331.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007102, allocations: 0 / 331.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.00711, allocations: 4.188 kB / 331.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007111, allocations: 0 / 331.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.007111, allocations: 3.938 kB / 331.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.00724, allocations: 212.2 kB / 331.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.007267, allocations: 15.92 kB / 331.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.007282, allocations: 8 kB / 331.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.007329, allocations: 3.938 kB / 331.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.007362, allocations: 11.98 kB / 331.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.007373, allocations: 8.062 kB / 331.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.166e-05/0.007445, allocations: 114.6 kB / 331.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007445, allocations: 0 / 331.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.007647, allocations: 12 kB / 331.5 MB, free: 9.461 MB / 298.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 7.433e-05/0.007721, allocations: 106.7 kB / 331.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.007844, allocations: 59.91 kB / 331.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007846, allocations: 0 / 331.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.007875, allocations: 20.11 kB / 331.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.008099, allocations: 28.02 kB / 331.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.008392, allocations: 236.2 kB / 331.9 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.00845, allocations: 85.11 kB / 332 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.008478, allocations: 12.5 kB / 332 MB, free: 8.863 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008479, allocations: 0 / 332 MB, free: 8.863 MB / 298.7 MB Notification: Performance of Templates: time 0.002029/0.01051, allocations: 1.069 MB / 333.1 MB, free: 7.793 MB / 298.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=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: 3.898726213723421]