Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008749/0.008749, allocations: 108.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001917/0.001917, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 259 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.88 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2736, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003025/0.2766, allocations: 1.454 MB / 434.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.2769, allocations: 27.91 kB / 434.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.277, allocations: 3.938 kB / 434.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.277, allocations: 4 kB / 434.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.277, allocations: 3.938 kB / 434.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.2773, allocations: 19.92 kB / 434.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2774, allocations: 35.84 kB / 434.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2776, allocations: 11.98 kB / 434.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.2776, allocations: 7.938 kB / 434.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.2777, allocations: 15.92 kB / 434.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2777, allocations: 8 kB / 434.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.2777, allocations: 4 kB / 434.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.2777, allocations: 4 kB / 434.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.2778, allocations: 19.86 kB / 434.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2779, allocations: 29.44 kB / 434.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2779, allocations: 0 / 434.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2779, allocations: 7.938 kB / 434.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2779, allocations: 0 / 434.8 MB, free: 5.316 MB / 334.1 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.0004873/0.2784, allocations: 266 kB / 435.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2784, allocations: 8.031 kB / 435.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2784, allocations: 8.891 kB / 435.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.2787, allocations: 118.5 kB / 435.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.2787, allocations: 384 / 435.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2787, allocations: 8.375 kB / 435.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.2791, allocations: 115.8 kB / 435.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2791, allocations: 4.125 kB / 435.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2791, allocations: 11.94 kB / 435.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2791, allocations: 3.984 kB / 435.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2792, allocations: 23.92 kB / 435.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.2794, allocations: 132.7 kB / 435.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.2796, allocations: 50.53 kB / 435.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.2796, allocations: 24.92 kB / 435.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2797, allocations: 8 kB / 435.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2797, allocations: 34.56 kB / 435.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2797, allocations: 0 / 435.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002956/0.28, allocations: 89.48 kB / 435.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.2801, allocations: 51.41 kB / 435.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.2801, allocations: 105.8 kB / 435.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2802, allocations: 25.7 kB / 435.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.2802, allocations: 84.14 kB / 436 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.2802, allocations: 4 kB / 436 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2803, allocations: 25.7 kB / 436 MB, free: 3.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2804, allocations: 310.8 kB / 436.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.2804, allocations: 8 kB / 436.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.2805, allocations: 31.67 kB / 436.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.2805, allocations: 39.5 kB / 436.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2805, allocations: 4 kB / 436.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.25e-05/0.2806, allocations: 69.45 kB / 436.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2806, allocations: 4 kB / 436.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2806, allocations: 7.938 kB / 436.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2807, allocations: 0 / 436.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.2807, allocations: 8.125 kB / 436.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2807, allocations: 4 kB / 436.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.2808, allocations: 3.938 kB / 436.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.2808, allocations: 8 kB / 436.5 MB, free: 3.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.585e-05/0.2809, allocations: 113.8 kB / 436.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.281, allocations: 73.55 kB / 436.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.281, allocations: 11.94 kB / 436.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.281, allocations: 0 / 436.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.281, allocations: 0 / 436.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.281, allocations: 4 kB / 436.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2811, allocations: 124.8 kB / 436.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2812, allocations: 3.984 kB / 436.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.2812, allocations: 12 kB / 436.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2812, allocations: 0 / 436.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.2812, allocations: 3.938 kB / 436.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2812, allocations: 4 kB / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2812, allocations: 0 / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.2814, allocations: 93.03 kB / 436.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.2814, allocations: 8.234 kB / 436.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.2814, allocations: 7.938 kB / 436.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/0.2815, allocations: 0 / 436.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-06/0.2815, allocations: 3.984 kB / 436.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2815, allocations: 7.984 kB / 436.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.2815, allocations: 83.28 kB / 437 MB, free: 2.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2815, allocations: 0 / 437 MB, free: 2.809 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001877/0.2817, allocations: 4 kB / 437 MB, free: 2.805 MB / 334.1 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 0.0001155/0.2818, allocations: 99.25 kB / 437.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.282, allocations: 35.91 kB / 437.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.282, allocations: 0 / 437.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.282, allocations: 0 / 437.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2823, allocations: 23.98 kB / 437.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.2826, allocations: 143.3 kB / 437.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2829, allocations: 0.6848 MB / 438 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.283, allocations: 11.44 kB / 438 MB, free: 1.746 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.283, allocations: 0 / 438 MB, free: 1.746 MB / 334.1 MB Notification: Performance of Templates: time 0.002173/0.2851, allocations: 0.6296 MB / 438.7 MB, free: 1.121 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.115500511135906]