Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9708/0.9708, allocations: 173.4 MB / 201.5 MB, free: 8.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.339e-05, allocations: 5.688 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00195/0.001973, allocations: 1.507 MB / 270 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.002144, allocations: 35.84 kB / 270.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.0022, allocations: 0 / 270.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.002227, allocations: 3.938 kB / 270.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.002265, allocations: 0 / 270.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.002482, allocations: 31.84 kB / 270.1 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.002556, allocations: 31.86 kB / 270.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.002634, allocations: 19.97 kB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.002694, allocations: 15.98 kB / 270.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.002731, allocations: 0 / 270.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.002754, allocations: 4 kB / 270.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.002766, allocations: 4 kB / 270.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.00279, allocations: 11.92 kB / 270.2 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.002814, allocations: 11.98 kB / 270.2 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.002904, allocations: 15.92 kB / 270.2 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002906, allocations: 0 / 270.2 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.002907, allocations: 0 / 270.2 MB, free: 4.285 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.002911, allocations: 8 kB / 270.2 MB, free: 4.277 MB / 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.0002972/0.003208, allocations: 244.9 kB / 270.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.003245, allocations: 12.03 kB / 270.5 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.003274, allocations: 0.9375 kB / 270.5 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.003426, allocations: 129.7 kB / 270.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.003444, allocations: 4.375 kB / 270.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.003452, allocations: 384 / 270.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.003628, allocations: 100.6 kB / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003636, allocations: 4.188 kB / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003644, allocations: 384 / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.003651, allocations: 384 / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.003674, allocations: 15.92 kB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.974e-05/0.003744, allocations: 60.98 kB / 270.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.827e-05/0.003802, allocations: 30.5 kB / 270.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.003821, allocations: 12.86 kB / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-06/0.003826, allocations: 0 / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.003846, allocations: 34.56 kB / 270.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.003847, allocations: 3.938 kB / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.831e-05/0.003936, allocations: 49.69 kB / 270.9 MB, free: 3.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.003974, allocations: 51.41 kB / 270.9 MB, free: 3.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.004025, allocations: 118.6 kB / 271.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.004034, allocations: 25.7 kB / 271.1 MB, free: 3.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.004056, allocations: 88.12 kB / 271.2 MB, free: 3.168 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.004065, allocations: 0 / 271.2 MB, free: 3.168 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.004087, allocations: 21.7 kB / 271.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.004163, allocations: 318.8 kB / 271.5 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.004167, allocations: 0 / 271.5 MB, free: 2.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.004173, allocations: 4 kB / 271.5 MB, free: 2.816 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.004196, allocations: 12.92 kB / 271.5 MB, free: 2.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.004197, allocations: 0 / 271.5 MB, free: 2.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.93e-05/0.004237, allocations: 33.69 kB / 271.6 MB, free: 2.762 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.00425, allocations: 8 kB / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004254, allocations: 0 / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/0.004263, allocations: 3.938 kB / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.004304, allocations: 4 kB / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.004307, allocations: 0 / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-06/0.004315, allocations: 0 / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-06/0.004318, allocations: 0 / 271.6 MB, free: 2.746 MB / 250.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 5.985e-05/0.004378, allocations: 117.8 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.004407, allocations: 41.69 kB / 271.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.004433, allocations: 8.219 kB / 271.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.004434, allocations: 0 / 271.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.004436, allocations: 0 / 271.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.004439, allocations: 7.984 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.07e-05/0.00448, allocations: 61.84 kB / 271.8 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004481, allocations: 4 kB / 271.8 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.004511, allocations: 7.984 kB / 271.8 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.004514, allocations: 7.938 kB / 271.8 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.004519, allocations: 11.94 kB / 271.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.00452, allocations: 0 / 271.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00452, allocations: 0 / 271.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.682e-05/0.004557, allocations: 53.08 kB / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.004566, allocations: 7.938 kB / 271.9 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.004576, allocations: 4.25 kB / 271.9 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-06/0.004585, allocations: 0 / 271.9 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.004588, allocations: 4 kB / 271.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.004591, allocations: 4 kB / 271.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.005e-05/0.004601, allocations: 8.859 kB / 271.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004601, allocations: 0 / 271.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.856e-05/0.00469, allocations: 12 kB / 271.9 MB, free: 2.332 MB / 250.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 6.337e-05/0.004753, allocations: 84.39 kB / 272 MB, free: 2.242 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.351e-05/0.004806, allocations: 16.8 kB / 272 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.004809, allocations: 0 / 272 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.004809, allocations: 0 / 272 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.004918, allocations: 21.33 kB / 272 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.005091, allocations: 111.2 kB / 272.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.942e-05/0.00512, allocations: 63.34 kB / 272.2 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.96e-05/0.00514, allocations: 8.062 kB / 272.2 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.005174, allocations: 51.38 kB / 272.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of SimCode: time 3.6e-07/0.005175, allocations: 0 / 272.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of Templates: time 0.001729/0.006904, allocations: 484.2 kB / 272.7 MB, free: 1.457 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.375408553984016]