Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 162.7 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.126/1.126, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.579e-05, allocations: 2.312 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002796/0.002832, allocations: 0.9757 MB / 274 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004381/0.00327, allocations: 119.5 kB / 274.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.003398, allocations: 3.938 kB / 274.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.617e-05/0.003474, allocations: 7.922 kB / 274.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.003659, allocations: 15.94 kB / 274.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.00395, allocations: 35.83 kB / 274.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.004086, allocations: 39.91 kB / 274.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.004223, allocations: 20.11 kB / 274.2 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.004289, allocations: 23.92 kB / 274.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.004347, allocations: 11.92 kB / 274.2 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.004379, allocations: 4 kB / 274.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.004393, allocations: 0 / 274.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.004466, allocations: 27.91 kB / 274.3 MB, free: 476 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.004509, allocations: 7.938 kB / 274.3 MB, free: 468 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004672, allocations: 39.83 kB / 274.3 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004675, allocations: 4 kB / 274.3 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.004676, allocations: 0 / 274.3 MB, free: 424 kB / 250.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.004686, allocations: 0 / 274.3 MB, free: 424 kB / 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.0005496/0.005236, allocations: 396.4 kB / 274.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.005286, allocations: 15.98 kB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.00534, allocations: 16.84 kB / 274.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.005571, allocations: 143.5 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.005587, allocations: 8.375 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.005602, allocations: 4.375 kB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.005879, allocations: 121.5 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.005888, allocations: 192 / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005899, allocations: 4.312 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.005911, allocations: 4.125 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.005948, allocations: 19.89 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.00611, allocations: 128.6 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.006275, allocations: 59.2 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.006339, allocations: 35.66 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.00635, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.006382, allocations: 37.39 kB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.006383, allocations: 4 kB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002402/0.006623, allocations: 69.64 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.006691, allocations: 55.41 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.006836, allocations: 197.8 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.00685, allocations: 25.7 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.006908, allocations: 134.9 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.006922, allocations: 0 / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.006962, allocations: 27.38 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.007138, allocations: 0.4883 MB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.00715, allocations: 4 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.007159, allocations: 0 / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.007193, allocations: 15.69 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007196, allocations: 0 / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.492e-05/0.007271, allocations: 37.66 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.007285, allocations: 4 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007291, allocations: 3.938 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.007305, allocations: 8.094 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.438e-05/0.00736, allocations: 3.984 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.007366, allocations: 7.875 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.00738, allocations: 4 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.007385, allocations: 0 / 276.4 MB, free: 14.15 MB / 266.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 9.016e-05/0.007475, allocations: 156.6 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.007571, allocations: 70.09 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.007611, allocations: 12.78 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007613, allocations: 0 / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.007617, allocations: 0 / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.007623, allocations: 7.938 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.908e-05/0.007712, allocations: 128.6 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007714, allocations: 0 / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.007778, allocations: 15.98 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.00778, allocations: 4 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.007788, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.007791, allocations: 8.016 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.007793, allocations: 3.984 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.007918, allocations: 108.3 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.007964, allocations: 19.94 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.007987, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.835e-05/0.008006, allocations: 4 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.008008, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.008015, allocations: 4 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.008085, allocations: 146.3 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008085, allocations: 0 / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000209/0.008294, allocations: 11.92 kB / 277.1 MB, free: 13.39 MB / 266.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 9.214e-05/0.008386, allocations: 95.25 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.008489, allocations: 27.62 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00849, allocations: 0 / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.008491, allocations: 4.062 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.008801, allocations: 35.34 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.009118, allocations: 171.3 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.00917, allocations: 63.34 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.7e-05/0.009187, allocations: 11.86 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.009219, allocations: 16.5 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00922, allocations: 0 / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of Templates: time 0.002776/0.012, allocations: 0.6069 MB / 278.1 MB, free: 12.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0372643989976496]