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.001176/0.001176, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001224/0.001224, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9662/0.9662, allocations: 173.3 MB / 201.1 MB, free: 9.348 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 2.073e-06/2.073e-06, allocations: 3.938 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.335e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002126/0.002149, allocations: 1.459 MB / 269.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002187/0.002368, allocations: 35.78 kB / 269.5 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.002432, allocations: 4 kB / 269.5 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.002465, allocations: 3.938 kB / 269.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.002505, allocations: 0 / 269.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.002752, allocations: 27.91 kB / 269.5 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.002847, allocations: 27.92 kB / 269.6 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.002961, allocations: 11.98 kB / 269.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.003022, allocations: 15.94 kB / 269.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.083e-05/0.003063, allocations: 11.97 kB / 269.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.003086, allocations: 0 / 269.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.0031, allocations: 7.938 kB / 269.6 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.003119, allocations: 4 kB / 269.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.003145, allocations: 15.92 kB / 269.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/0.003238, allocations: 19.97 kB / 269.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003241, allocations: 0 / 269.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003241, allocations: 0 / 269.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.003246, allocations: 0 / 269.6 MB, free: 4.793 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.0003753/0.003622, allocations: 376.5 kB / 270 MB, free: 4.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.003666, allocations: 12.03 kB / 270 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.003711, allocations: 4.938 kB / 270 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.003884, allocations: 124.6 kB / 270.1 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.003908, allocations: 384 / 270.1 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.00392, allocations: 4.375 kB / 270.1 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.004184, allocations: 114.2 kB / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.004193, allocations: 192 / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.004203, allocations: 4.375 kB / 270.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.004211, allocations: 384 / 270.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/0.004241, allocations: 7.938 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.004374, allocations: 120.6 kB / 270.4 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.004478, allocations: 43.09 kB / 270.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.004532, allocations: 19.72 kB / 270.5 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.004543, allocations: 3.938 kB / 270.5 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.004573, allocations: 33.39 kB / 270.5 MB, free: 3.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.004574, allocations: 0 / 270.5 MB, free: 3.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001841/0.004759, allocations: 53.64 kB / 270.5 MB, free: 3.742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.004809, allocations: 59.41 kB / 270.6 MB, free: 3.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.004893, allocations: 165.9 kB / 270.8 MB, free: 3.492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.004904, allocations: 29.7 kB / 270.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.004952, allocations: 130.9 kB / 270.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.004965, allocations: 0 / 270.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.004995, allocations: 27.36 kB / 270.9 MB, free: 3.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.005126, allocations: 492.1 kB / 271.4 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.005137, allocations: 7.938 kB / 271.4 MB, free: 2.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.005143, allocations: 0 / 271.4 MB, free: 2.789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.005166, allocations: 11.75 kB / 271.4 MB, free: 2.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005168, allocations: 4 kB / 271.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.321e-05/0.005212, allocations: 45.64 kB / 271.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.005222, allocations: 7.938 kB / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005226, allocations: 0 / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.00524, allocations: 4 kB / 271.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.005288, allocations: 0 / 271.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.005293, allocations: 0 / 271.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.005304, allocations: 12.12 kB / 271.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.00531, allocations: 4 kB / 271.5 MB, free: 2.691 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 6.59e-05/0.005375, allocations: 156.6 kB / 271.7 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.005416, allocations: 45.69 kB / 271.7 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.005443, allocations: 8 kB / 271.7 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005445, allocations: 4 kB / 271.7 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.005449, allocations: 0 / 271.7 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.005454, allocations: 7.922 kB / 271.7 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.532e-05/0.005509, allocations: 112.6 kB / 271.8 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00551, allocations: 0 / 271.8 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.005545, allocations: 11.98 kB / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.005546, allocations: 240 / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.005552, allocations: 0 / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005553, allocations: 4 kB / 271.9 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.005554, allocations: 0 / 271.9 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.006e-05/0.005624, allocations: 100.2 kB / 272 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.00563, allocations: 0 / 272 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.005642, allocations: 4 kB / 272 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.005656, allocations: 7.984 kB / 272 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.005659, allocations: 0 / 272 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.005662, allocations: 4 kB / 272 MB, free: 2.152 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.005694, allocations: 123.2 kB / 272.1 MB, free: 2.031 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005694, allocations: 0 / 272.1 MB, free: 2.031 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001093/0.005804, allocations: 4 kB / 272.1 MB, free: 2.027 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 7.16e-05/0.005875, allocations: 103.2 kB / 272.2 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.617e-05/0.005961, allocations: 27.61 kB / 272.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005964, allocations: 0 / 272.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.005964, allocations: 3.938 kB / 272.2 MB, free: 1.883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.006163, allocations: 13.41 kB / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.006406, allocations: 124.8 kB / 272.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.006441, allocations: 55.36 kB / 272.4 MB, free: 1.645 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.169e-05/0.006462, allocations: 8.047 kB / 272.4 MB, free: 1.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.006491, allocations: 12.5 kB / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of SimCode: time 6.72e-07/0.006491, allocations: 0 / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of Templates: time 0.002099/0.008591, allocations: 468.7 kB / 272.9 MB, free: 1.176 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.6015700520947576]