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.0009562/0.0009562, allocations: 78.66 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.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.001273/0.001273, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 18.57 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.694e-06/1.694e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.914e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002417/0.002446, allocations: 1.691 MB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003511, allocations: 0.5569 MB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.003615, allocations: 7.938 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.277e-05/0.003667, allocations: 11.86 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.003819, allocations: 15.88 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.00423, allocations: 63.73 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.00436, allocations: 71.77 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.004458, allocations: 8.234 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.004619, allocations: 59.75 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.004673, allocations: 15.97 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.00469, allocations: 8 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.004734, allocations: 11.94 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.004777, allocations: 19.92 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.004809, allocations: 27.84 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.004961, allocations: 55.81 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.004966, allocations: 4 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.004967, allocations: 0 / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.004972, allocations: 0 / 276 MB, free: 14.61 MB / 266.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.0004308/0.005403, allocations: 424.1 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.005442, allocations: 8.031 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.005583, allocations: 32.83 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.005756, allocations: 152.9 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.005765, allocations: 4.375 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.005778, allocations: 20.3 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.005985, allocations: 133.6 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.005993, allocations: 3.938 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.006001, allocations: 4 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.006005, allocations: 0 / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.006037, allocations: 23.89 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.006336, allocations: 280 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.006455, allocations: 74.11 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.006481, allocations: 35.39 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.0065, allocations: 0 / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/0.006568, allocations: 65.03 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.00657, allocations: 0 / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001529/0.006722, allocations: 85.56 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.006771, allocations: 89.05 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.00687, allocations: 197.2 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.006884, allocations: 29.7 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.006935, allocations: 146.8 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.00695, allocations: 3.953 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.006989, allocations: 39.3 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.007101, allocations: 0.4922 MB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.007118, allocations: 7.984 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.007149, allocations: 39.05 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.0072, allocations: 46.98 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.007201, allocations: 0 / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.191e-05/0.007293, allocations: 73.58 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.007308, allocations: 8 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007313, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.007322, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.00738, allocations: 15.98 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.007383, allocations: 320 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.007408, allocations: 7.938 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.007414, allocations: 4 kB / 278.5 MB, free: 11.84 MB / 266.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.712e-05/0.007501, allocations: 164.5 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.007554, allocations: 57.7 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.007586, allocations: 16.69 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.007589, allocations: 3.984 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.007592, allocations: 3.938 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007596, allocations: 0 / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.007855, allocations: 309.8 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.007858, allocations: 0 / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.007894, allocations: 8 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.007898, allocations: 0 / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.007907, allocations: 11.98 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007909, allocations: 0 / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00791, allocations: 4 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.00803, allocations: 219.5 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.008062, allocations: 19.94 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.008078, allocations: 0 / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.008116, allocations: 8 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.008144, allocations: 3.984 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.00815, allocations: 4 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.008208, allocations: 146.1 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008208, allocations: 0 / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00016/0.008368, allocations: 16 kB / 279.5 MB, free: 10.8 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.0001161/0.008484, allocations: 107.2 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.008569, allocations: 35.67 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00857, allocations: 0 / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.008595, allocations: 23.61 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.008828, allocations: 33.06 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.00926, allocations: 204.4 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.483e-05/0.009305, allocations: 63.34 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.878e-05/0.009334, allocations: 8.859 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.009394, allocations: 86.19 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.009395, allocations: 0 / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Templates: time 0.002867/0.01226, allocations: 0.9097 MB / 281 MB, free: 9.297 MB / 266.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 -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.820124696008861]