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.001088/0.001088, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002571, allocations: 449.7 kB / 10.37 MB, free: 328 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.001004/0.001004, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.0022, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9109/0.9109, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.091/1.002, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.853e-06/1.853e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.687e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002051/0.002068, allocations: 1.758 MB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.002743, allocations: 0.5724 MB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.002815, allocations: 3.938 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.00285, allocations: 11.92 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.002929, allocations: 15.86 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.003139, allocations: 83.53 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.728e-05/0.003236, allocations: 59.8 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.003327, allocations: 16.22 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.003457, allocations: 55.88 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.00352, allocations: 23.91 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003539, allocations: 4 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.0036, allocations: 8 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.003643, allocations: 15.92 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.003673, allocations: 23.94 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.0038, allocations: 63.64 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.003811, allocations: 0 / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003811, allocations: 0 / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.003822, allocations: 0 / 247.2 MB, free: 11.59 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.0004531/0.004275, allocations: 312.1 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.004314, allocations: 8.031 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.004479, allocations: 98.02 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.004647, allocations: 142.2 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.004659, allocations: 8.375 kB / 247.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.00467, allocations: 8.312 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.004867, allocations: 134.2 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004875, allocations: 3.938 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.004884, allocations: 4 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.004889, allocations: 4 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.004917, allocations: 12 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.005151, allocations: 177 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.005266, allocations: 53.12 kB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.00529, allocations: 25.72 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.005312, allocations: 7.875 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.491e-05/0.005387, allocations: 55.55 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.005389, allocations: 0 / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000124/0.005513, allocations: 77.55 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.005568, allocations: 85.11 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.005641, allocations: 142.6 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005652, allocations: 25.7 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.005684, allocations: 96.08 kB / 248.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.005702, allocations: 15.88 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.005729, allocations: 25.66 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.005808, allocations: 322.8 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.00582, allocations: 4 kB / 249 MB, free: 9.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.005843, allocations: 30.5 kB / 249.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.005886, allocations: 42.48 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005888, allocations: 4 kB / 249.1 MB, free: 9.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.39e-05/0.005952, allocations: 65.56 kB / 249.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.005964, allocations: 4 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.005969, allocations: 0 / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.005979, allocations: 7.984 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.006028, allocations: 4 kB / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-06/0.006031, allocations: 4 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.00605, allocations: 0 / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.006057, allocations: 8.188 kB / 249.2 MB, free: 9.391 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 5.862e-05/0.006116, allocations: 131.6 kB / 249.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.006145, allocations: 49.62 kB / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.006172, allocations: 12.47 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006174, allocations: 0 / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006175, allocations: 0 / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.006179, allocations: 3.984 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.006326, allocations: 214.7 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006327, allocations: 0 / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.006356, allocations: 12.36 kB / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.006379, allocations: 15.91 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006381, allocations: 0 / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.006388, allocations: 12 kB / 249.7 MB, free: 8.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.00639, allocations: 3.984 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006391, allocations: 0 / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.006457, allocations: 152.4 kB / 249.8 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.00647, allocations: 3.938 kB / 249.8 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.006502, allocations: 7.938 kB / 249.8 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.006526, allocations: 7.984 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.00653, allocations: 0 / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.012e-05/0.00655, allocations: 28.83 kB / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00655, allocations: 0 / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.006668, allocations: 19.94 kB / 249.9 MB, free: 8.664 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 7.021e-05/0.006738, allocations: 84.41 kB / 250 MB, free: 8.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.093e-05/0.006809, allocations: 40.78 kB / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.006813, allocations: 0 / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.564e-05/0.006838, allocations: 16.84 kB / 250 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.007012, allocations: 40.05 kB / 250 MB, free: 8.469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.007636, allocations: 210.7 kB / 250.3 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.007679, allocations: 71.45 kB / 250.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.477e-05/0.007704, allocations: 4.922 kB / 250.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.007754, allocations: 63.36 kB / 250.4 MB, free: 8.078 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007754, allocations: 0 / 250.4 MB, free: 8.078 MB / 250.7 MB Notification: Performance of Templates: time 0.002634/0.01039, allocations: 0.8948 MB / 251.3 MB, free: 7.207 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.437897683121264]