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.001588/0.001588, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001752/0.001752, allocations: 209.6 kB / 24.48 MB, free: 3.973 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 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 0.001543/0.001543, allocations: 43.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2312, allocations: 53.36 MB / 432.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002994/0.2342, allocations: 1.652 MB / 434 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2353, allocations: 0.5376 MB / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.2354, allocations: 7.938 kB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.93e-05/0.2354, allocations: 3.938 kB / 434.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.2356, allocations: 11.86 kB / 434.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.2359, allocations: 75.73 kB / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.236, allocations: 59.78 kB / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2361, allocations: 23.17 kB / 434.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2363, allocations: 43.84 kB / 434.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.2363, allocations: 23.86 kB / 434.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2363, allocations: 8 kB / 434.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.887e-05/0.2364, allocations: 8 kB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.2364, allocations: 23.92 kB / 434.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.2365, allocations: 27.8 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2367, allocations: 91.5 kB / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2367, allocations: 0 / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2367, allocations: 0 / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2367, allocations: 0 / 434.9 MB, free: 4.277 MB / 334.1 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.0005085/0.2372, allocations: 321.9 kB / 435.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2372, allocations: 12.03 kB / 435.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.2374, allocations: 28.81 kB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2377, allocations: 148.7 kB / 435.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2377, allocations: 4.375 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2377, allocations: 8.125 kB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.238, allocations: 145 kB / 435.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.238, allocations: 0 / 435.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.238, allocations: 0 / 435.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.238, allocations: 0 / 435.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.2382, allocations: 35.97 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.2386, allocations: 241.2 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.2389, allocations: 77.23 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.2389, allocations: 41.69 kB / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.239, allocations: 0 / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.2391, allocations: 67.36 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2391, allocations: 0 / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003229/0.2394, allocations: 121.7 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.2395, allocations: 81.11 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.2396, allocations: 156.7 kB / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2396, allocations: 29.64 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2397, allocations: 92.14 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.2397, allocations: 27.95 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.2398, allocations: 25.67 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2399, allocations: 322.8 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.24, allocations: 23.98 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.2401, allocations: 65.14 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.2402, allocations: 85.08 kB / 437 MB, free: 1.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2402, allocations: 0 / 437 MB, free: 1.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002218/0.2405, allocations: 117.5 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2405, allocations: 8 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2405, allocations: 0 / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2405, allocations: 4 kB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.2406, allocations: 15.92 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.2406, allocations: 4 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.2407, allocations: 12.09 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2407, allocations: 4 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001092/0.2408, allocations: 129.9 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.2408, allocations: 57.59 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.2409, allocations: 16.39 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2409, allocations: 0 / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2409, allocations: 4 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2409, allocations: 3.938 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.2413, allocations: 282.1 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2413, allocations: 0 / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.2413, allocations: 19.92 kB / 437.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2413, allocations: 4 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2413, allocations: 0 / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2413, allocations: 4.062 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2413, allocations: 7.938 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.2416, allocations: 204.3 kB / 437.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.2416, allocations: 19.94 kB / 437.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2417, allocations: 0 / 437.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.2417, allocations: 8.031 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.2418, allocations: 11.92 kB / 438 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.2418, allocations: 8 kB / 438 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.58e-05/0.2419, allocations: 112.9 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2419, allocations: 0 / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.2421, allocations: 15.95 kB / 438.1 MB, free: 0.7969 MB / 334.1 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.0001108/0.2422, allocations: 99.25 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2424, allocations: 63.84 kB / 438.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2424, allocations: 0 / 438.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.2425, allocations: 24.3 kB / 438.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.2429, allocations: 30.28 kB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.2433, allocations: 242.2 kB / 438.5 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.2434, allocations: 84.98 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.2434, allocations: 11.44 kB / 438.6 MB, free: 196 kB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2434, allocations: 0 / 438.6 MB, free: 196 kB / 334.1 MB Notification: Performance of Templates: time 0.002829/0.2463, allocations: 1.084 MB / 439.7 MB, free: 15.11 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/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: 6.877696454001125]