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.0009687/0.0009687, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.001504/0.001504, allocations: 143 kB / 25.59 MB, free: 8.906 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 0.9671/0.9671, allocations: 173.4 MB / 202.2 MB, free: 8.281 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 1.372e-06/1.372e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.425e-05, allocations: 2.312 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.005757/0.005782, allocations: 1.683 MB / 270.9 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.006598, allocations: 495.8 kB / 271.4 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.00669, allocations: 4.594 kB / 271.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.09e-05/0.006741, allocations: 13.95 kB / 271.4 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.006872, allocations: 11.88 kB / 271.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.007142, allocations: 55.75 kB / 271.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.01028, allocations: 71.77 kB / 271.5 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.01039, allocations: 20.16 kB / 271.5 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.0105, allocations: 45.67 kB / 271.6 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.01055, allocations: 19.92 kB / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.01058, allocations: 4 kB / 271.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.01059, allocations: 4 kB / 271.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.01063, allocations: 20.41 kB / 271.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.01066, allocations: 19.92 kB / 271.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.01079, allocations: 56.42 kB / 271.7 MB, free: 7.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01079, allocations: 0.75 kB / 271.7 MB, free: 7.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01079, allocations: 0 / 271.7 MB, free: 7.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.01079, allocations: 8.625 kB / 271.7 MB, free: 7.254 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.0004006/0.01119, allocations: 412.2 kB / 272.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01123, allocations: 16.69 kB / 272.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.01127, allocations: 16.89 kB / 272.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.01143, allocations: 150.9 kB / 272.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.01144, allocations: 384 / 272.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.01145, allocations: 8.375 kB / 272.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.01166, allocations: 146.2 kB / 272.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.01166, allocations: 5.125 kB / 272.5 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.01167, allocations: 384 / 272.5 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.01168, allocations: 4.438 kB / 272.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.01171, allocations: 11.98 kB / 272.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.01201, allocations: 280 kB / 272.8 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.01215, allocations: 70.17 kB / 272.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.01218, allocations: 31.45 kB / 272.9 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.0122, allocations: 11.92 kB / 272.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.404e-05/0.01227, allocations: 64.97 kB / 272.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.01228, allocations: 0 / 272.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001741/0.01245, allocations: 89.56 kB / 273 MB, free: 5.797 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.0125, allocations: 81.11 kB / 273.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.0126, allocations: 201.1 kB / 273.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.01262, allocations: 29.7 kB / 273.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.01267, allocations: 138.8 kB / 273.5 MB, free: 5.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.01269, allocations: 11.91 kB / 273.5 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.01274, allocations: 35.34 kB / 273.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01286, allocations: 0.4884 MB / 274 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.01288, allocations: 7.984 kB / 274 MB, free: 4.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.01291, allocations: 38.98 kB / 274 MB, free: 4.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.01296, allocations: 47.05 kB / 274.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01297, allocations: 4 kB / 274.1 MB, free: 4.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001147/0.01411, allocations: 77.77 kB / 274.2 MB, free: 4.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01413, allocations: 4 kB / 274.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01413, allocations: 4 kB / 274.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01414, allocations: 8 kB / 274.2 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.01421, allocations: 11.92 kB / 274.2 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.01421, allocations: 4 kB / 274.2 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.01425, allocations: 3.938 kB / 274.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.01425, allocations: 4 kB / 274.2 MB, free: 4.516 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.762e-05/0.01434, allocations: 164.6 kB / 274.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.0144, allocations: 61.47 kB / 274.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.01443, allocations: 12.47 kB / 274.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01444, allocations: 3.984 kB / 274.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01444, allocations: 4 kB / 274.4 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01444, allocations: 0 / 274.4 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.01468, allocations: 286.1 kB / 274.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.01468, allocations: 7.938 kB / 274.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.01472, allocations: 11.94 kB / 274.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01473, allocations: 4 kB / 274.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.01473, allocations: 0 / 274.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01473, allocations: 7.984 kB / 274.8 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01474, allocations: 0 / 274.8 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.01486, allocations: 215.6 kB / 275 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.0149, allocations: 23.88 kB / 275 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01492, allocations: 0 / 275 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.01498, allocations: 8 kB / 275 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.01501, allocations: 7.922 kB / 275 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01501, allocations: 4 kB / 275 MB, free: 3.633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.037e-05/0.01508, allocations: 147.1 kB / 275.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01508, allocations: 0 / 275.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.0153, allocations: 12 kB / 275.2 MB, free: 3.477 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.0001043/0.0154, allocations: 114.8 kB / 275.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.382e-05/0.0155, allocations: 35.73 kB / 275.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.0155, allocations: 4 kB / 275.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.01553, allocations: 19.8 kB / 275.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.01583, allocations: 43.48 kB / 275.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.01628, allocations: 200.4 kB / 275.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.01633, allocations: 75.45 kB / 275.6 MB, free: 2.926 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.01636, allocations: 7.953 kB / 275.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.01643, allocations: 82.19 kB / 275.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01643, allocations: 0 / 275.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of Templates: time 0.002474/0.01891, allocations: 0.9092 MB / 276.6 MB, free: 1.945 MB / 250.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.7679619477130473]