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.001007/0.001007, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001064/0.001064, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.025/1.025, allocations: 177 MB / 204.8 MB, free: 5.59 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.963e-06/1.963e-06, allocations: 3.938 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.086e-05, allocations: 9.203 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00255/0.002581, allocations: 1.513 MB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.002777, allocations: 35.84 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.002835, allocations: 0 / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.002866, allocations: 3.938 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.002914, allocations: 7.938 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.003163, allocations: 27.91 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.003252, allocations: 27.92 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.003343, allocations: 8 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.003395, allocations: 11.98 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.003435, allocations: 15.91 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.904e-05/0.003524, allocations: 4 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.003533, allocations: 7.938 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.003551, allocations: 4 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.003581, allocations: 8 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.00368, allocations: 23.89 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003682, allocations: 4 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.003684, allocations: 0 / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.003688, allocations: 0 / 274.6 MB, free: 15.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003613/0.004049, allocations: 368.6 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.004092, allocations: 11.98 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.004135, allocations: 12.88 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.004286, allocations: 116.6 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.004307, allocations: 4.375 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.004316, allocations: 384 / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.004548, allocations: 126.1 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.004555, allocations: 192 / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.004564, allocations: 384 / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.004572, allocations: 4.375 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.004602, allocations: 7.938 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.004709, allocations: 124.5 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.004785, allocations: 35.06 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.004823, allocations: 23.75 kB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.004832, allocations: 3.938 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.004855, allocations: 41.39 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.004856, allocations: 0 / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.004997, allocations: 49.69 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.005041, allocations: 51.41 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.00512, allocations: 169.9 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.00513, allocations: 25.7 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.005171, allocations: 130.9 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.005181, allocations: 4 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.005208, allocations: 15.38 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.005446, allocations: 0.4884 MB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.005456, allocations: 7.938 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.005462, allocations: 4 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.005486, allocations: 11.69 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005488, allocations: 0 / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.082e-05/0.005539, allocations: 41.66 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.005554, allocations: 14.8 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005559, allocations: 0 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.005571, allocations: 0 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.00562, allocations: 4 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.005625, allocations: 0 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.005637, allocations: 11.97 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-06/0.00564, allocations: 3.938 kB / 276.5 MB, free: 13.63 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.101e-05/0.005711, allocations: 156.8 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.005761, allocations: 45.69 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.005785, allocations: 8 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005787, allocations: 0 / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.005792, allocations: 4 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.005797, allocations: 3.938 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.585e-05/0.005863, allocations: 112.6 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005864, allocations: 0 / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.005906, allocations: 12.23 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005907, allocations: 0 / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.005917, allocations: 7.984 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.005918, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.00592, allocations: 0 / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.208e-05/0.006002, allocations: 100.2 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.006009, allocations: 4 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.006024, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.00604, allocations: 4 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-06/0.006042, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.006045, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.006085, allocations: 135.2 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006086, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.00626, allocations: 4 kB / 277.1 MB, free: 12.97 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.888e-05/0.006349, allocations: 99.19 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.494e-05/0.006434, allocations: 27.61 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.006436, allocations: 0 / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.006437, allocations: 0 / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.006664, allocations: 10.3 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.006921, allocations: 132.9 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.006956, allocations: 55.36 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.945e-05/0.006976, allocations: 0 / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.007006, allocations: 16.5 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007007, allocations: 0 / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.002504/0.009511, allocations: 473.6 kB / 277.9 MB, free: 12.11 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: 2.923807905986905]