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.002113/0.002113, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00247/0.00247, allocations: 210.7 kB / 23.73 MB, free: 4.387 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001745/0.001745, allocations: 51.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2539, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002985/0.2568, allocations: 1.648 MB / 433.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2579, allocations: 0.5415 MB / 433.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.258, allocations: 4 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.33e-05/0.2581, allocations: 11.86 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.2582, allocations: 7.875 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.2585, allocations: 71.8 kB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.2586, allocations: 63.77 kB / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2588, allocations: 16.23 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.2589, allocations: 39.78 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.259, allocations: 31.84 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.259, allocations: 8 kB / 434 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-05/0.259, allocations: 8 kB / 434 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.2591, allocations: 23.91 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.2591, allocations: 31.8 kB / 434.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2593, allocations: 77.91 kB / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2593, allocations: 0 / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2593, allocations: 0 / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2593, allocations: 0 / 434.2 MB, free: 4.121 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.0005376/0.2599, allocations: 329.8 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2599, allocations: 11.97 kB / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.26, allocations: 24.84 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.2603, allocations: 148.7 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2603, allocations: 8.375 kB / 434.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2604, allocations: 8.125 kB / 434.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.2607, allocations: 141 kB / 434.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2607, allocations: 4 kB / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2607, allocations: 0 / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2607, allocations: 0 / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.2608, allocations: 35.92 kB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.2613, allocations: 237.3 kB / 435.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.2615, allocations: 81.12 kB / 435.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.2616, allocations: 33.8 kB / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2616, allocations: 4 kB / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.2618, allocations: 71.36 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.2618, allocations: 0 / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003456/0.2621, allocations: 113.6 kB / 435.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.2622, allocations: 93.03 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2623, allocations: 152.9 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2624, allocations: 29.7 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.2624, allocations: 96.12 kB / 435.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2624, allocations: 11.91 kB / 435.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.2625, allocations: 37.66 kB / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2627, allocations: 318.8 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.837e-05/0.2628, allocations: 23.92 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.2629, allocations: 61.12 kB / 436.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.263, allocations: 85.08 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.263, allocations: 7.938 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002163/0.2632, allocations: 113.5 kB / 436.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2633, allocations: 8 kB / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2633, allocations: 0 / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2633, allocations: 3.984 kB / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.2634, allocations: 12 kB / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.2634, allocations: 0 / 436.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.2634, allocations: 12.27 kB / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2634, allocations: 8 kB / 436.4 MB, free: 1.605 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.0001214/0.2636, allocations: 133.7 kB / 436.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.2636, allocations: 53.64 kB / 436.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.2637, allocations: 16.41 kB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2637, allocations: 0 / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2637, allocations: 4 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2637, allocations: 7.922 kB / 436.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.2641, allocations: 282.1 kB / 436.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.2641, allocations: 384 / 436.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.2641, allocations: 19.98 kB / 436.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2642, allocations: 4 kB / 436.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2642, allocations: 4 kB / 437 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2642, allocations: 3.938 kB / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2642, allocations: 0 / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.2644, allocations: 196.3 kB / 437.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.2645, allocations: 19.94 kB / 437.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.2645, allocations: 7.984 kB / 437.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.2646, allocations: 7.938 kB / 437.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.2646, allocations: 0 / 437.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2646, allocations: 11.98 kB / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.596e-05/0.2647, allocations: 111.2 kB / 437.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2647, allocations: 0 / 437.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.265, allocations: 19.89 kB / 437.3 MB, free: 0.6445 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.0001207/0.2651, allocations: 107.2 kB / 437.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.2653, allocations: 59.91 kB / 437.5 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2653, allocations: 0 / 437.5 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.2653, allocations: 24.23 kB / 437.5 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.2657, allocations: 32.11 kB / 437.5 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.2661, allocations: 208.5 kB / 437.7 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.66e-05/0.2662, allocations: 84.98 kB / 437.8 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.2663, allocations: 8.609 kB / 437.8 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.2663, allocations: 23.42 kB / 437.9 MB, free: 56 kB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2663, allocations: 0 / 437.9 MB, free: 56 kB / 334.1 MB Notification: Performance of Templates: time 0.003751/0.27, allocations: 0.8946 MB / 438.8 MB, free: 15.18 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/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: 4.60472783818841]