Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 78.28 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 148.5 kB / 24.8 MB, free: 9.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.071/1.071, allocations: 173.3 MB / 201.4 MB, free: 9.25 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.142e-05, allocations: 2.312 kB / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003021/0.003052, allocations: 1.682 MB / 270.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.005048, allocations: 0.4906 MB / 270.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.005146, allocations: 0 / 270.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.005195, allocations: 11.86 kB / 270.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.005332, allocations: 15.86 kB / 270.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.005637, allocations: 59.69 kB / 270.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.00574, allocations: 67.77 kB / 270.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.005838, allocations: 20.16 kB / 270.8 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.005932, allocations: 43.89 kB / 270.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.005982, allocations: 15.98 kB / 270.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.006003, allocations: 8 kB / 270.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.006013, allocations: 7.938 kB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.006058, allocations: 19.91 kB / 270.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.006089, allocations: 23.92 kB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.006204, allocations: 55.73 kB / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006206, allocations: 0 / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.006208, allocations: 0 / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.006212, allocations: 0 / 270.9 MB, free: 3.684 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.0004273/0.006639, allocations: 428.2 kB / 271.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006682, allocations: 8.922 kB / 271.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.006726, allocations: 16.89 kB / 271.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.006912, allocations: 144.4 kB / 271.5 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.006927, allocations: 8.375 kB / 271.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.006939, allocations: 4.375 kB / 271.5 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.007199, allocations: 149.5 kB / 271.7 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007209, allocations: 192 / 271.7 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.007221, allocations: 8.312 kB / 271.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.007228, allocations: 3.938 kB / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.007266, allocations: 11.98 kB / 271.7 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.007686, allocations: 280 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.007848, allocations: 70.17 kB / 272 MB, free: 2.434 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.007887, allocations: 35.39 kB / 272.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.007912, allocations: 8 kB / 272.1 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.41e-05/0.008006, allocations: 68.97 kB / 272.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.008008, allocations: 0 / 272.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002026/0.008211, allocations: 85.75 kB / 272.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.008277, allocations: 81.11 kB / 272.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.0084, allocations: 193.8 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008414, allocations: 25.7 kB / 272.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.008475, allocations: 142.8 kB / 272.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.008499, allocations: 15.91 kB / 272.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.008548, allocations: 35.34 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.008689, allocations: 496.1 kB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.008711, allocations: 11.98 kB / 273.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.008747, allocations: 43 kB / 273.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.00881, allocations: 51.03 kB / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008812, allocations: 0 / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001246/0.008937, allocations: 81.45 kB / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.008951, allocations: 4 kB / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008956, allocations: 0 / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.008968, allocations: 0 / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.009029, allocations: 16.05 kB / 273.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.009032, allocations: 0 / 273.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.009067, allocations: 7.938 kB / 273.4 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.009073, allocations: 0 / 273.4 MB, free: 0.9336 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.879e-05/0.009161, allocations: 163.6 kB / 273.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.009231, allocations: 65.47 kB / 273.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.009272, allocations: 12.47 kB / 273.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.009275, allocations: 3.984 kB / 273.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.009277, allocations: 240 / 273.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.009281, allocations: 4 kB / 273.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.009544, allocations: 302 kB / 273.9 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.009547, allocations: 7.875 kB / 274 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.009593, allocations: 8 kB / 274 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009596, allocations: 0 / 274 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.009602, allocations: 4 kB / 274 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.009606, allocations: 3.984 kB / 274 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.009607, allocations: 128 / 274 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.009759, allocations: 223.6 kB / 274.2 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.009802, allocations: 23.81 kB / 274.2 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.009823, allocations: 4 kB / 274.2 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.00989, allocations: 4 kB / 274.2 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.009916, allocations: 7.984 kB / 274.2 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.009923, allocations: 4 kB / 274.2 MB, free: 36 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.204e-05/0.01001, allocations: 150.2 kB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01001, allocations: 0 / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.01024, allocations: 12 kB / 274.4 MB, free: 15.88 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.0001175/0.01036, allocations: 103.2 kB / 274.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.01046, allocations: 35.61 kB / 274.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01046, allocations: 0 / 274.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.01049, allocations: 19.67 kB / 274.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.0108, allocations: 37.42 kB / 274.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.01139, allocations: 208.4 kB / 274.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.01145, allocations: 67.33 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.618e-05/0.01148, allocations: 4 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.01157, allocations: 78.19 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01157, allocations: 4 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of Templates: time 0.003518/0.01509, allocations: 0.8975 MB / 275.8 MB, free: 14.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7104634707793593]