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.001841/0.001841, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001874/0.001874, allocations: 153.1 kB / 24.27 MB, free: 168 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 1.532/1.532, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.984e-06/1.984e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.328e-05, allocations: 6.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.004005/0.004039, allocations: 1.44 MB / 268.8 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.004269, allocations: 27.91 kB / 268.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.004337, allocations: 7.938 kB / 268.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.004363, allocations: 4 kB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.004415, allocations: 7.875 kB / 268.8 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.004691, allocations: 27.91 kB / 268.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.004791, allocations: 27.92 kB / 268.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.906e-05/0.00489, allocations: 4 kB / 268.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.004969, allocations: 19.97 kB / 268.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.005017, allocations: 11.92 kB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.005038, allocations: 0 / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.005051, allocations: 4 kB / 268.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.005071, allocations: 4 kB / 268.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.005104, allocations: 8 kB / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.005233, allocations: 43.81 kB / 268.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005235, allocations: 0 / 268.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005236, allocations: 3.938 kB / 269 MB, free: 5.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.00524, allocations: 0 / 269 MB, free: 5.078 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.0006317/0.005872, allocations: 372.2 kB / 269.3 MB, free: 4.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.005915, allocations: 8.031 kB / 269.3 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.005971, allocations: 8.938 kB / 269.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.006212, allocations: 124.6 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.00624, allocations: 8.375 kB / 269.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.006251, allocations: 384 / 269.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.00671, allocations: 117.5 kB / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.006722, allocations: 192 / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.006739, allocations: 384 / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006744, allocations: 384 / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.006891, allocations: 23.86 kB / 269.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.00709, allocations: 120.6 kB / 269.7 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.007329, allocations: 59.08 kB / 269.8 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.007438, allocations: 23.72 kB / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.007456, allocations: 8 kB / 269.8 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.0075, allocations: 33.39 kB / 269.8 MB, free: 4.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.007501, allocations: 0 / 269.8 MB, free: 4.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003816/0.007883, allocations: 77.56 kB / 269.9 MB, free: 3.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.007968, allocations: 55.41 kB / 270 MB, free: 3.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.008159, allocations: 173.9 kB / 270.1 MB, free: 3.715 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.008186, allocations: 25.7 kB / 270.2 MB, free: 3.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.008296, allocations: 138.8 kB / 270.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.008306, allocations: 0 / 270.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.008367, allocations: 23.38 kB / 270.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003587/0.008726, allocations: 496.1 kB / 270.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.008742, allocations: 8 kB / 270.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.008753, allocations: 4 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.008795, allocations: 19.61 kB / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.008797, allocations: 0 / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.76e-05/0.008895, allocations: 37.7 kB / 270.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.008911, allocations: 4 kB / 270.9 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008915, allocations: 0 / 270.9 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.00893, allocations: 4 kB / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.008981, allocations: 0 / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.008986, allocations: 4.094 kB / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.009012, allocations: 11.89 kB / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.009015, allocations: 0 / 270.9 MB, free: 2.914 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 0.0001543/0.009169, allocations: 160.6 kB / 271.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.009371, allocations: 61.8 kB / 271.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.009413, allocations: 12 kB / 271.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009415, allocations: 0 / 271.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.009418, allocations: 3.938 kB / 271.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.009425, allocations: 3.938 kB / 271.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.009584, allocations: 120.6 kB / 271.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009586, allocations: 4.25 kB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.009665, allocations: 8 kB / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.009674, allocations: 7.984 kB / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.009683, allocations: 0 / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009684, allocations: 0 / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.009689, allocations: 4 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.009963, allocations: 108.2 kB / 271.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.009975, allocations: 4 kB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.009994, allocations: 0 / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.01004, allocations: 4 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.01004, allocations: 0 / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.01004, allocations: 4 kB / 271.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.01016, allocations: 131.2 kB / 271.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01016, allocations: 0 / 271.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.01049, allocations: 4 kB / 271.5 MB, free: 2.203 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 0.0001507/0.01064, allocations: 99.19 kB / 271.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.0108, allocations: 27.67 kB / 271.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01081, allocations: 0 / 271.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.01081, allocations: 4 kB / 271.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.0112, allocations: 32.39 kB / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01158, allocations: 124.8 kB / 271.8 MB, free: 1.883 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.01167, allocations: 71.25 kB / 271.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.391e-05/0.0117, allocations: 3.859 kB / 271.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.01173, allocations: 8.5 kB / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01173, allocations: 0 / 271.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of Templates: time 0.003874/0.01561, allocations: 461.7 kB / 272.3 MB, free: 1.34 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.269054129021242]