Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.002901/0.002901, 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.00332/0.00332, 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.559/1.559, allocations: 173.4 MB / 200.8 MB, free: 9.328 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.165e-05, allocations: 9.766 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002806/0.002837, allocations: 1.44 MB / 268.8 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000307/0.003144, allocations: 103.6 kB / 268.9 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.003202, allocations: 3.938 kB / 268.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.003224, allocations: 4 kB / 268.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.00327, allocations: 7.875 kB / 268.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.003485, allocations: 23.97 kB / 268.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.568e-05/0.003571, allocations: 31.84 kB / 268.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.003646, allocations: 4 kB / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.274e-05/0.003709, allocations: 15.92 kB / 269 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.003746, allocations: 8 kB / 269 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.003766, allocations: 4 kB / 269 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.003774, allocations: 0 / 269 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.887e-05/0.003793, allocations: 11.98 kB / 269 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.003825, allocations: 11.92 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.621e-05/0.003911, allocations: 23.91 kB / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003914, allocations: 0 / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003915, allocations: 0 / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003918, allocations: 0 / 269 MB, free: 5.043 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.0007161/0.004635, allocations: 372.2 kB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.004673, allocations: 12.02 kB / 269.4 MB, free: 4.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.004712, allocations: 4.938 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.004899, allocations: 124.6 kB / 269.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.004909, allocations: 4.375 kB / 269.5 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.004919, allocations: 8.312 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.005231, allocations: 109.5 kB / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.005241, allocations: 192 / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005249, allocations: 384 / 269.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005255, allocations: 4.375 kB / 269.6 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.005334, allocations: 19.92 kB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.005491, allocations: 120.6 kB / 269.8 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.005668, allocations: 55.05 kB / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.00573, allocations: 23.75 kB / 269.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.005753, allocations: 4 kB / 269.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.005789, allocations: 37.33 kB / 269.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005789, allocations: 0 / 269.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002279/0.006017, allocations: 65.64 kB / 270 MB, free: 3.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.006079, allocations: 59.39 kB / 270 MB, free: 3.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.006219, allocations: 169.9 kB / 270.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.006241, allocations: 33.7 kB / 270.2 MB, free: 3.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.006325, allocations: 134.9 kB / 270.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.006327, allocations: 0 / 270.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.006362, allocations: 19.38 kB / 270.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.006643, allocations: 492.1 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.006647, allocations: 0 / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-06/0.006649, allocations: 3.938 kB / 270.8 MB, free: 3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.745e-05/0.006716, allocations: 127.2 kB / 271 MB, free: 2.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-05/0.006775, allocations: 119.2 kB / 271.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.439e-05/0.00683, allocations: 25.7 kB / 271.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.006906, allocations: 135.2 kB / 271.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-05/0.006966, allocations: 119.2 kB / 271.4 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.007095, allocations: 242.3 kB / 271.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.007161, allocations: 123.2 kB / 271.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001264/0.007288, allocations: 242.3 kB / 272 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.00739, allocations: 123.1 kB / 272.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.007462, allocations: 123.2 kB / 272.2 MB, free: 1.637 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001696/0.007632, allocations: 279.7 kB / 272.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.007746, allocations: 57.62 kB / 272.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.007782, allocations: 12.23 kB / 272.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.007786, allocations: 7.984 kB / 272.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.007789, allocations: 3.938 kB / 272.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.007796, allocations: 3.938 kB / 272.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.007901, allocations: 116.6 kB / 272.7 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007903, allocations: 0 / 272.7 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.007977, allocations: 8 kB / 272.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007979, allocations: 256 / 272.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.007986, allocations: 0 / 272.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.007993, allocations: 4 kB / 272.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007994, allocations: 0 / 272.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.008162, allocations: 108.3 kB / 272.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.008173, allocations: 7.891 kB / 272.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.008184, allocations: 0 / 272.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.008207, allocations: 4 kB / 272.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-06/0.00821, allocations: 0 / 272.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.008214, allocations: 0 / 272.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.326e-05/0.008298, allocations: 131.2 kB / 272.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008298, allocations: 0 / 272.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.008509, allocations: 4 kB / 272.9 MB, free: 0.8203 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001204/0.00863, allocations: 99.19 kB / 273 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.008714, allocations: 16 kB / 273 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008715, allocations: 0 / 273 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.008716, allocations: 3.938 kB / 273 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.008944, allocations: 21.14 kB / 273.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.009234, allocations: 121.2 kB / 273.2 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.009313, allocations: 67.25 kB / 273.2 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.011e-05/0.009323, allocations: 0 / 273.2 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.009353, allocations: 8.5 kB / 273.3 MB, free: 444 kB / 250.7 MB Notification: Performance of SimCode: time 4.5e-07/0.009353, allocations: 4 kB / 273.3 MB, free: 440 kB / 250.7 MB Notification: Performance of Templates: time 0.002779/0.01213, allocations: 302.5 kB / 273.6 MB, free: 140 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.315773232025094]