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.001039/0.001039, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002499, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009294/0.0009294, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002328, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8883/0.8883, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1815/1.07, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.963e-06/1.963e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.254e-05, allocations: 6.484 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003079/0.003111, allocations: 1.513 MB / 241.3 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.003243, allocations: 36.66 kB / 241.3 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.003308, allocations: 0 / 241.3 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.003337, allocations: 5.031 kB / 241.3 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.861e-05/0.003366, allocations: 3.938 kB / 241.3 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.003549, allocations: 15.98 kB / 241.3 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003669, allocations: 42.97 kB / 241.4 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.003786, allocations: 4 kB / 241.4 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.003877, allocations: 19.98 kB / 241.4 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.003933, allocations: 11.92 kB / 241.4 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.003966, allocations: 4 kB / 241.4 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003978, allocations: 0 / 241.4 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.004008, allocations: 4 kB / 241.4 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.004038, allocations: 11.94 kB / 241.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.004161, allocations: 23.91 kB / 241.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.004176, allocations: 1.281 kB / 241.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004177, allocations: 0 / 241.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.004193, allocations: 0 / 241.4 MB, free: 4.676 MB / 234.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.0004796/0.004673, allocations: 253.5 kB / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.00472, allocations: 12.03 kB / 241.7 MB, free: 4.391 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.004757, allocations: 4.875 kB / 241.7 MB, free: 4.387 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.004997, allocations: 120.8 kB / 241.8 MB, free: 4.246 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.005029, allocations: 8.359 kB / 241.8 MB, free: 4.238 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.005044, allocations: 4.375 kB / 241.8 MB, free: 4.234 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.005293, allocations: 100.6 kB / 241.9 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.005304, allocations: 192 / 241.9 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.005313, allocations: 1.188 kB / 241.9 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.005319, allocations: 384 / 241.9 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.005347, allocations: 17.08 kB / 242 MB, free: 4.105 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.175e-05/0.005439, allocations: 65 kB / 242 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.00551, allocations: 26.56 kB / 242 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.005537, allocations: 21.81 kB / 242.1 MB, free: 3.965 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-06/0.005546, allocations: 0 / 242.1 MB, free: 3.965 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.005572, allocations: 34.56 kB / 242.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.005573, allocations: 0.9062 kB / 242.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001447/0.005718, allocations: 45.62 kB / 242.1 MB, free: 3.871 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.005771, allocations: 53.19 kB / 242.2 MB, free: 3.809 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.005844, allocations: 110.7 kB / 242.3 MB, free: 3.688 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.005857, allocations: 29.7 kB / 242.3 MB, free: 3.652 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.005891, allocations: 88.14 kB / 242.4 MB, free: 3.562 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.005906, allocations: 0 / 242.4 MB, free: 3.562 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.005937, allocations: 22.34 kB / 242.4 MB, free: 3.535 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.006028, allocations: 315.5 kB / 242.7 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-06/0.006034, allocations: 0 / 242.7 MB, free: 3.219 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.006045, allocations: 5.969 kB / 242.8 MB, free: 3.215 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.006073, allocations: 4.859 kB / 242.8 MB, free: 3.207 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.006076, allocations: 7.938 kB / 242.8 MB, free: 3.199 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.601e-05/0.006142, allocations: 37.62 kB / 242.8 MB, free: 3.156 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.006159, allocations: 9.469 kB / 242.8 MB, free: 3.148 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.006164, allocations: 0 / 242.8 MB, free: 3.148 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.006181, allocations: 0 / 242.8 MB, free: 3.148 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.006237, allocations: 4 kB / 242.8 MB, free: 3.145 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006242, allocations: 0.625 kB / 242.8 MB, free: 3.145 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.006255, allocations: 0.5938 kB / 242.8 MB, free: 3.145 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-06/0.006258, allocations: 0 / 242.8 MB, free: 3.145 MB / 234.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.613e-05/0.006344, allocations: 118.3 kB / 242.9 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.006399, allocations: 39.38 kB / 243 MB, free: 2.977 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.006433, allocations: 7.938 kB / 243 MB, free: 2.961 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006436, allocations: 240 / 243 MB, free: 2.961 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.00644, allocations: 7.984 kB / 243 MB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.006445, allocations: 5.141 kB / 243 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.679e-05/0.006522, allocations: 73.83 kB / 243.1 MB, free: 2.859 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006524, allocations: 0 / 243.1 MB, free: 2.859 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.006596, allocations: 11.98 kB / 243.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.006605, allocations: 4.953 kB / 243.1 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.006608, allocations: 0 / 243.1 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.006613, allocations: 1 kB / 243.1 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006615, allocations: 256 / 243.1 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.006621, allocations: 8 kB / 243.1 MB, free: 2.836 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.722e-05/0.006678, allocations: 57.81 kB / 243.1 MB, free: 2.762 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.006694, allocations: 0 / 243.1 MB, free: 2.762 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.00671, allocations: 4.688 kB / 243.1 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-06/0.006714, allocations: 0 / 243.1 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.006719, allocations: 4.5 kB / 243.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.191e-05/0.006741, allocations: 13.61 kB / 243.2 MB, free: 2.738 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006741, allocations: 0 / 243.2 MB, free: 2.738 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.006886, allocations: 4 kB / 243.2 MB, free: 2.734 MB / 234.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.0001114/0.006997, allocations: 82.06 kB / 243.2 MB, free: 2.648 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.007085, allocations: 16.8 kB / 243.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.007089, allocations: 4.188 kB / 243.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.00709, allocations: 0 / 243.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.007304, allocations: 55.06 kB / 243.3 MB, free: 2.562 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.00779, allocations: 123 kB / 243.4 MB, free: 2.418 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.007833, allocations: 59.34 kB / 243.5 MB, free: 2.34 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.007856, allocations: 0 / 243.5 MB, free: 2.34 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.007914, allocations: 51.38 kB / 243.6 MB, free: 2.289 MB / 234.7 MB Notification: Performance of SimCode: time 7.92e-07/0.007915, allocations: 0 / 243.6 MB, free: 2.289 MB / 234.7 MB Notification: Performance of Templates: time 0.002872/0.01079, allocations: 0.4885 MB / 244 MB, free: 1.809 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.457311616279185]