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.001419/0.001419, allocations: 76.06 kB / 21.69 MB, free: 2.863 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.001087/0.001087, allocations: 147.8 kB / 24.98 MB, free: 9.305 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.9854/0.9854, allocations: 173.4 MB / 201.5 MB, free: 9.355 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.713e-06/1.713e-06, allocations: 0 / 268.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.755e-05, allocations: 2.312 kB / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002686/0.002713, allocations: 1.471 MB / 269.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000225/0.002938, allocations: 27.86 kB / 269.6 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.003029, allocations: 4 kB / 269.6 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.003061, allocations: 7.922 kB / 269.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.003103, allocations: 0 / 269.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.00338, allocations: 31.84 kB / 269.6 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003484, allocations: 23.92 kB / 269.6 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.003604, allocations: 7.984 kB / 269.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.003668, allocations: 27.92 kB / 269.7 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.003708, allocations: 4 kB / 269.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003731, allocations: 0 / 269.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.003741, allocations: 4 kB / 269.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.003764, allocations: 11.92 kB / 269.7 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.003794, allocations: 11.98 kB / 269.7 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.003896, allocations: 19.92 kB / 269.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003899, allocations: 3.938 kB / 269.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0039, allocations: 0 / 269.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.003906, allocations: 0 / 269.7 MB, free: 5.09 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.0003843/0.00429, allocations: 368.6 kB / 270.1 MB, free: 4.691 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.004333, allocations: 16.03 kB / 270.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.004382, allocations: 4.938 kB / 270.1 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.004563, allocations: 120.6 kB / 270.2 MB, free: 4.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.004589, allocations: 8.312 kB / 270.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.004601, allocations: 384 / 270.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.004851, allocations: 114.2 kB / 270.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004858, allocations: 192 / 270.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.004869, allocations: 384 / 270.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.004881, allocations: 4.375 kB / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.004915, allocations: 11.92 kB / 270.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.005024, allocations: 116.6 kB / 270.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.005101, allocations: 46.98 kB / 270.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.005134, allocations: 11.72 kB / 270.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.005144, allocations: 4 kB / 270.5 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.005173, allocations: 41.42 kB / 270.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.005174, allocations: 0 / 270.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.005349, allocations: 57.62 kB / 270.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.005414, allocations: 59.34 kB / 270.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.005501, allocations: 169.9 kB / 270.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.005511, allocations: 25.7 kB / 270.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.005551, allocations: 134.9 kB / 271 MB, free: 3.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.005563, allocations: 3.938 kB / 271 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.005588, allocations: 19.38 kB / 271 MB, free: 3.582 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.005705, allocations: 496.1 kB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.005716, allocations: 3.984 kB / 271.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.005723, allocations: 4 kB / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.00575, allocations: 11.69 kB / 271.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.005752, allocations: 4.062 kB / 271.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.56e-05/0.005808, allocations: 41.66 kB / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.005824, allocations: 7.938 kB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.005829, allocations: 0 / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.005845, allocations: 0 / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.005905, allocations: 4 kB / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.005915, allocations: 4.234 kB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.005927, allocations: 3.938 kB / 271.6 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005932, allocations: 8 kB / 271.6 MB, free: 2.984 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 8.311e-05/0.006015, allocations: 152.6 kB / 271.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.006067, allocations: 49.72 kB / 271.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.006098, allocations: 8 kB / 271.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006101, allocations: 4 kB / 271.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.006105, allocations: 0 / 271.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.00611, allocations: 3.938 kB / 271.8 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.031e-05/0.00617, allocations: 112.6 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006172, allocations: 0 / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.00623, allocations: 15.94 kB / 271.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006233, allocations: 0 / 271.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.006242, allocations: 0 / 271.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006244, allocations: 0 / 271.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006245, allocations: 4 kB / 272 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.006337, allocations: 92.33 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.006346, allocations: 3.984 kB / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.006364, allocations: 4 kB / 272 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.006377, allocations: 0 / 272 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-06/0.006379, allocations: 3.938 kB / 272.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.006384, allocations: 4 kB / 272.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.006429, allocations: 131.2 kB / 272.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00643, allocations: 0 / 272.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.006551, allocations: 4 kB / 272.2 MB, free: 2.32 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 9.958e-05/0.006651, allocations: 103.2 kB / 272.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.724e-05/0.006748, allocations: 23.62 kB / 272.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.00675, allocations: 0 / 272.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.006751, allocations: 0 / 272.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.006967, allocations: 13.42 kB / 272.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.007229, allocations: 124.8 kB / 272.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.007268, allocations: 59.34 kB / 272.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.951e-05/0.007288, allocations: 0 / 272.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.007317, allocations: 16.56 kB / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.007318, allocations: 3.938 kB / 272.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of Templates: time 0.002692/0.01001, allocations: 458.3 kB / 273 MB, free: 1.484 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 -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.756383681902662]