Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001556/0.001556, 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.001683/0.001683, allocations: 160.9 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.074/1.074, allocations: 177 MB / 205.2 MB, free: 5.613 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.562e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002554/0.002579, allocations: 1.512 MB / 274.5 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002149/0.002794, allocations: 35.84 kB / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.002862, allocations: 0 / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.002892, allocations: 3.938 kB / 274.5 MB, free: 212 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.002939, allocations: 4 kB / 274.6 MB, free: 208 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.003191, allocations: 31.84 kB / 274.6 MB, free: 176 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.003284, allocations: 31.86 kB / 274.6 MB, free: 144 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003385, allocations: 4 kB / 274.6 MB, free: 140 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.003442, allocations: 19.97 kB / 274.6 MB, free: 120 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.003481, allocations: 11.92 kB / 274.6 MB, free: 108 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.003505, allocations: 4 kB / 274.7 MB, free: 104 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.003513, allocations: 0 / 274.7 MB, free: 104 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.003532, allocations: 8 kB / 274.7 MB, free: 96 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.003563, allocations: 3.984 kB / 274.7 MB, free: 92 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.364e-05/0.003656, allocations: 27.91 kB / 274.7 MB, free: 64 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003659, allocations: 4 kB / 274.7 MB, free: 60 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00366, allocations: 0 / 274.7 MB, free: 60 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.003664, allocations: 0 / 274.7 MB, free: 60 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.0003839/0.004048, allocations: 364.6 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.004091, allocations: 15.97 kB / 275.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.004135, allocations: 12.89 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.004298, allocations: 112.6 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.004321, allocations: 12.36 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.004334, allocations: 8.312 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.004585, allocations: 114.2 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004592, allocations: 192 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.0046, allocations: 384 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.004608, allocations: 384 / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.004638, allocations: 7.938 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.00475, allocations: 128.5 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.004825, allocations: 46.98 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.004861, allocations: 19.75 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.004869, allocations: 0 / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.004893, allocations: 41.39 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.004894, allocations: 0 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.005043, allocations: 49.69 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.005094, allocations: 55.41 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.005177, allocations: 169.9 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.00519, allocations: 25.7 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.005233, allocations: 134.8 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.005245, allocations: 0 / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.005274, allocations: 19.38 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.005393, allocations: 496.1 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.005404, allocations: 8 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.005412, allocations: 4 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.005438, allocations: 11.69 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00544, allocations: 0 / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.536e-05/0.005496, allocations: 37.66 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.005511, allocations: 11.11 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005516, allocations: 0 / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.005529, allocations: 0 / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.005583, allocations: 7.938 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005588, allocations: 96 / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.0056, allocations: 7.938 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.005604, allocations: 4 kB / 276.6 MB, free: 13.96 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 7.584e-05/0.00568, allocations: 156.6 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.005738, allocations: 45.69 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.005763, allocations: 4 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005764, allocations: 4 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005768, allocations: 0 / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.005772, allocations: 7.875 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.16e-05/0.005833, allocations: 116.9 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005834, allocations: 0 / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.005878, allocations: 12.25 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.00588, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.005892, allocations: 11.97 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.005894, allocations: 3.938 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005894, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.284e-05/0.005977, allocations: 96.33 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.005984, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.005999, allocations: 4 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.006013, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.006015, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.006019, allocations: 4 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.006066, allocations: 135.2 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006066, allocations: 0 / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.006239, allocations: 4 kB / 277.2 MB, free: 13.29 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: 1 (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.168e-05/0.00632, allocations: 95.19 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.006402, allocations: 23.61 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006404, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.006404, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.006627, allocations: 18.3 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.006869, allocations: 132.9 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.094e-05/0.0069, allocations: 55.36 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.006916, allocations: 0 / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.006941, allocations: 8.5 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.006942, allocations: 0 / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Templates: time 0.002271/0.009213, allocations: 465.5 kB / 278 MB, free: 12.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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: 3.0256220379378647]