Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001393/0.001393, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001591/0.001591, allocations: 164.9 kB / 24.99 MB, free: 8.219 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.093/1.093, allocations: 177 MB / 205.2 MB, free: 5.527 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.242e-05, allocations: 9.406 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002457/0.002489, allocations: 1.482 MB / 274.5 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002039/0.002693, allocations: 39.78 kB / 274.5 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.00276, allocations: 0 / 274.5 MB, free: 184 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.002788, allocations: 3.938 kB / 274.5 MB, free: 180 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.002823, allocations: 3.938 kB / 274.5 MB, free: 176 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.003063, allocations: 19.97 kB / 274.5 MB, free: 156 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003163, allocations: 31.86 kB / 274.6 MB, free: 124 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.003262, allocations: 8 kB / 274.6 MB, free: 116 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.003312, allocations: 11.98 kB / 274.6 MB, free: 104 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.003349, allocations: 19.92 kB / 274.6 MB, free: 84 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.003372, allocations: 7.984 kB / 274.6 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.003381, allocations: 4 kB / 274.6 MB, free: 72 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.003399, allocations: 4 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.003425, allocations: 11.92 kB / 274.6 MB, free: 56 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.003513, allocations: 19.97 kB / 274.7 MB, free: 36 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003515, allocations: 0 / 274.7 MB, free: 36 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003516, allocations: 0 / 274.7 MB, free: 36 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.00352, allocations: 0 / 274.7 MB, free: 36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003688/0.003889, allocations: 364.8 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.003929, allocations: 15.98 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.003974, allocations: 16.88 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.00414, allocations: 116.6 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.00416, allocations: 384 / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.004174, allocations: 16.3 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.0044, allocations: 106.2 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004407, allocations: 192 / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.004417, allocations: 384 / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.004427, allocations: 8.375 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.875e-05/0.004455, allocations: 7.938 kB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.004561, allocations: 124.5 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.004628, allocations: 39 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.00466, allocations: 19.75 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.004667, allocations: 0 / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.004696, allocations: 37.39 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004697, allocations: 0 / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001477/0.004845, allocations: 49.69 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.004895, allocations: 55.41 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.004975, allocations: 173.9 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.004984, allocations: 25.7 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.00503, allocations: 130.8 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.005044, allocations: 8 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.005071, allocations: 19.36 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.00519, allocations: 496.1 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.005201, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.005209, allocations: 8 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.00523, allocations: 7.688 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005233, allocations: 0 / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.028e-05/0.005283, allocations: 45.89 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.005296, allocations: 8 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.0053, allocations: 0 / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005313, allocations: 0 / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.005367, allocations: 15.86 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.005372, allocations: 0 / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.005382, allocations: 3.938 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.005385, allocations: 0 / 276.5 MB, free: 13.93 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 6.935e-05/0.005455, allocations: 160.6 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.005502, allocations: 45.94 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.005525, allocations: 8.031 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005527, allocations: 0 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.005531, allocations: 4 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.005535, allocations: 3.938 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.038e-05/0.005595, allocations: 120.6 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005596, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.005639, allocations: 11.98 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005641, allocations: 0 / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005647, allocations: 0 / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.005649, allocations: 7.938 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00565, allocations: 0 / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.587e-05/0.005726, allocations: 92.38 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.005734, allocations: 4 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.005747, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/0.00576, allocations: 4 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-06/0.005763, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.005766, allocations: 3.984 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.005807, allocations: 127.2 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005807, allocations: 0 / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.005938, allocations: 4 kB / 277.1 MB, free: 13.27 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.804e-05/0.006026, allocations: 103.2 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.006114, allocations: 23.61 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006116, allocations: 0 / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.006116, allocations: 0 / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.006315, allocations: 20.7 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.006547, allocations: 124.8 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.00658, allocations: 59.3 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.834e-05/0.006598, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.006629, allocations: 12.48 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.00663, allocations: 4.062 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Templates: time 0.002114/0.008744, allocations: 454.3 kB / 277.9 MB, free: 12.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.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.9787061060778797]