Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.00163/0.00163, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.0009765/0.0009765, allocations: 145.5 kB / 24.54 MB, free: 40 kB / 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.925/0.925, allocations: 173.3 MB / 201.1 MB, free: 9.352 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.494e-05, allocations: 6.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001911/0.001936, allocations: 0.9845 MB / 269 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003438/0.00228, allocations: 123.5 kB / 269.1 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.002361, allocations: 3.938 kB / 269.1 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.002409, allocations: 3.938 kB / 269.1 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.002543, allocations: 19.86 kB / 269.1 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.002736, allocations: 27.91 kB / 269.2 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.901e-05/0.002825, allocations: 43.84 kB / 269.2 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.002931, allocations: 20.12 kB / 269.2 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.002986, allocations: 23.97 kB / 269.3 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.003031, allocations: 15.91 kB / 269.3 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.003054, allocations: 4 kB / 269.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.003065, allocations: 4 kB / 269.3 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.003114, allocations: 11.94 kB / 269.3 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.003145, allocations: 15.92 kB / 269.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.003246, allocations: 43.83 kB / 269.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003248, allocations: 0 / 269.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003249, allocations: 0 / 269.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.003253, allocations: 0 / 269.4 MB, free: 5.086 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003569/0.00361, allocations: 396.4 kB / 269.7 MB, free: 4.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.003648, allocations: 12.92 kB / 269.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.003684, allocations: 12.89 kB / 269.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.003841, allocations: 151.1 kB / 269.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.003849, allocations: 384 / 269.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.003862, allocations: 16.31 kB / 269.9 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.004056, allocations: 113.5 kB / 270 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.004063, allocations: 192 / 270 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.004073, allocations: 4.312 kB / 270 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.004081, allocations: 4.125 kB / 270 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.004102, allocations: 8 kB / 270.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.004211, allocations: 124.6 kB / 270.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.004334, allocations: 67.23 kB / 270.2 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.004374, allocations: 35.61 kB / 270.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.004381, allocations: 0 / 270.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.0044, allocations: 37.39 kB / 270.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.004401, allocations: 0 / 270.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001421/0.004543, allocations: 77.59 kB / 270.4 MB, free: 3.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.004585, allocations: 55.41 kB / 270.4 MB, free: 3.844 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.004671, allocations: 189.8 kB / 270.6 MB, free: 3.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.004681, allocations: 29.7 kB / 270.7 MB, free: 3.605 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.00472, allocations: 135 kB / 270.8 MB, free: 3.469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.004732, allocations: 0 / 270.8 MB, free: 3.469 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.004758, allocations: 27.36 kB / 270.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.004913, allocations: 0.4883 MB / 271.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.004925, allocations: 7.938 kB / 271.3 MB, free: 2.926 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.004939, allocations: 0 / 271.3 MB, free: 2.926 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.004962, allocations: 11.69 kB / 271.3 MB, free: 2.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.004964, allocations: 0 / 271.3 MB, free: 2.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.833e-05/0.005012, allocations: 45.64 kB / 271.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.005026, allocations: 8 kB / 271.4 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005031, allocations: 0 / 271.4 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.005046, allocations: 4.094 kB / 271.4 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.527e-05/0.005091, allocations: 4 kB / 271.4 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.0051, allocations: 11.88 kB / 271.4 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.005109, allocations: 0 / 271.4 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005114, allocations: 0 / 271.4 MB, free: 2.832 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.103e-05/0.005185, allocations: 152.6 kB / 271.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.005238, allocations: 73.62 kB / 271.6 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.005271, allocations: 8.781 kB / 271.6 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.005272, allocations: 0 / 271.6 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.005277, allocations: 7.984 kB / 271.6 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.005281, allocations: 7.938 kB / 271.6 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.201e-05/0.005343, allocations: 128.6 kB / 271.8 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.005344, allocations: 0 / 271.8 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.005383, allocations: 12 kB / 271.8 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.005384, allocations: 0 / 271.8 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.005391, allocations: 3.984 kB / 271.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005391, allocations: 3.938 kB / 271.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005392, allocations: 0 / 271.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.184e-05/0.005474, allocations: 108.7 kB / 271.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.0055, allocations: 11.95 kB / 271.9 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.005518, allocations: 7.984 kB / 271.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.005527, allocations: 4 kB / 271.9 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.005529, allocations: 0 / 271.9 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.005533, allocations: 7.984 kB / 271.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.005581, allocations: 141.8 kB / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005581, allocations: 0 / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001145/0.005695, allocations: 7.938 kB / 272.1 MB, free: 2.082 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 7.245e-05/0.005768, allocations: 99.25 kB / 272.2 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.496e-05/0.005853, allocations: 31.59 kB / 272.2 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.005855, allocations: 3.938 kB / 272.2 MB, free: 1.938 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.005855, allocations: 4.062 kB / 272.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.006082, allocations: 38.61 kB / 272.2 MB, free: 1.895 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.006295, allocations: 163.3 kB / 272.4 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.006329, allocations: 63.34 kB / 272.5 MB, free: 1.625 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.438e-05/0.006344, allocations: 7.938 kB / 272.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.006366, allocations: 8.5 kB / 272.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006367, allocations: 0 / 272.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of Templates: time 0.002194/0.00856, allocations: 0.6326 MB / 273.1 MB, free: 0.9844 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.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.760441951919347]