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.001344/0.001344, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002139/0.003483, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001345/0.001345, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.003026, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.042/1.042, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1152/1.157, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.493e-06/1.493e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/2.992e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003167/0.003197, allocations: 1.756 MB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.004098, allocations: 0.5763 MB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004202, allocations: 3.938 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.004247, allocations: 7.875 kB / 247.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.00435, allocations: 15.86 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.004667, allocations: 79.66 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.004797, allocations: 63.78 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004903, allocations: 20.2 kB / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.005064, allocations: 51.84 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.005132, allocations: 23.95 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.005152, allocations: 4 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.005222, allocations: 15.88 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.00528, allocations: 11.94 kB / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.005312, allocations: 19.94 kB / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.005467, allocations: 59.77 kB / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.005478, allocations: 0 / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.005481, allocations: 3.984 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.005492, allocations: 0 / 247.4 MB, free: 11.48 MB / 250.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.0004638/0.005956, allocations: 316.1 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.005991, allocations: 8.031 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.006169, allocations: 94.03 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.006372, allocations: 150.1 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.006383, allocations: 4.375 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.0064, allocations: 12.38 kB / 248 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.006617, allocations: 126.2 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006628, allocations: 3.938 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.006637, allocations: 4 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.006644, allocations: 4 kB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.006673, allocations: 15.92 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.007017, allocations: 173.1 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.007161, allocations: 61.08 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.007187, allocations: 29.86 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.007212, allocations: 3.938 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.812e-05/0.00729, allocations: 55.41 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.007291, allocations: 0 / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001414/0.007433, allocations: 69.59 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.007495, allocations: 89.05 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.007579, allocations: 141.6 kB / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.007595, allocations: 29.7 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.00764, allocations: 96.08 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.007661, allocations: 15.88 kB / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.007696, allocations: 25.66 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.007794, allocations: 318.8 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.007812, allocations: 4 kB / 249.2 MB, free: 9.473 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.007839, allocations: 30.56 kB / 249.3 MB, free: 9.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.007894, allocations: 46.44 kB / 249.3 MB, free: 9.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.007896, allocations: 0 / 249.3 MB, free: 9.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.025e-05/0.007977, allocations: 65.61 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.007993, allocations: 6.344 kB / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007998, allocations: 0 / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.008011, allocations: 7.938 kB / 249.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.008085, allocations: 11.98 kB / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.008088, allocations: 0 / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.008112, allocations: 4 kB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.008118, allocations: 4 kB / 249.4 MB, free: 9.277 MB / 250.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.472e-05/0.008203, allocations: 128.7 kB / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.008248, allocations: 41.69 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.00828, allocations: 20.52 kB / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008283, allocations: 0 / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008285, allocations: 0 / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.00829, allocations: 4 kB / 249.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.00849, allocations: 215.1 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.008493, allocations: 4 kB / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.00854, allocations: 8 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.00857, allocations: 19.89 kB / 249.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008572, allocations: 0 / 249.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.008581, allocations: 8 kB / 249.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008583, allocations: 4 kB / 249.8 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008584, allocations: 0 / 249.8 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.008698, allocations: 164.3 kB / 250 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.008716, allocations: 4 kB / 250 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.008753, allocations: 4 kB / 250 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.008782, allocations: 3.984 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008787, allocations: 0 / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.977e-05/0.008817, allocations: 32.03 kB / 250 MB, free: 8.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008817, allocations: 0 / 250 MB, free: 8.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.008947, allocations: 15.94 kB / 250.1 MB, free: 8.555 MB / 250.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.000107/0.009054, allocations: 88.17 kB / 250.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.465e-05/0.009149, allocations: 48.69 kB / 250.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.009156, allocations: 4 kB / 250.2 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.009185, allocations: 12.86 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.009423, allocations: 92.77 kB / 250.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.01016, allocations: 210.6 kB / 250.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.0102, allocations: 63.34 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.01024, allocations: 13.14 kB / 250.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.01031, allocations: 59.38 kB / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01031, allocations: 0 / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of Templates: time 0.003029/0.01334, allocations: 0.8969 MB / 251.5 MB, free: 7.031 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7327961400151253]