Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.000985/0.000985, allocations: 82.17 kB / 21.42 MB, free: 3.082 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.0009598/0.0009598, allocations: 153.7 kB / 24.81 MB, free: 8.875 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.9131/0.9131, allocations: 173.4 MB / 201.5 MB, free: 8.312 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 268.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.379e-05, allocations: 5.406 kB / 268.4 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001727/0.001741, allocations: 1.497 MB / 269.9 MB, free: 8.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.001982, allocations: 112.7 kB / 270 MB, free: 8.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.00204, allocations: 0 / 270 MB, free: 8.152 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.002065, allocations: 7.922 kB / 270 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.002106, allocations: 4.438 kB / 270 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.00229, allocations: 24.55 kB / 270.1 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.002354, allocations: 23.92 kB / 270.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.002433, allocations: 9.797 kB / 270.1 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.002479, allocations: 15.98 kB / 270.1 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.002512, allocations: 7.938 kB / 270.1 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.002527, allocations: 0 / 270.1 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-06/0.002535, allocations: 4.531 kB / 270.1 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.002551, allocations: 7.984 kB / 270.1 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.002571, allocations: 13.7 kB / 270.2 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.389e-05/0.002635, allocations: 19.92 kB / 270.2 MB, free: 8.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002637, allocations: 0 / 270.2 MB, free: 8.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002638, allocations: 0 / 270.2 MB, free: 8.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.002641, allocations: 4 kB / 270.2 MB, free: 8.016 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.0004045/0.003046, allocations: 369 kB / 270.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.003086, allocations: 8.781 kB / 270.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.003113, allocations: 4.938 kB / 270.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.003234, allocations: 121.2 kB / 270.7 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.003243, allocations: 5.094 kB / 270.7 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.003252, allocations: 4.375 kB / 270.7 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.003425, allocations: 104 kB / 270.8 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.003432, allocations: 1.656 kB / 270.8 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.00344, allocations: 384 / 270.8 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.003447, allocations: 4.359 kB / 270.8 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.003467, allocations: 7.938 kB / 270.8 MB, free: 7.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.935e-05/0.003557, allocations: 101.8 kB / 270.9 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.003625, allocations: 47.03 kB / 270.9 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.003649, allocations: 20.25 kB / 271 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.003668, allocations: 4 kB / 271 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.003691, allocations: 37.39 kB / 271 MB, free: 7.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.003691, allocations: 0 / 271 MB, free: 7.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001254/0.003817, allocations: 53.58 kB / 271 MB, free: 7.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.003852, allocations: 55.41 kB / 271.1 MB, free: 6.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.003919, allocations: 161.9 kB / 271.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.003928, allocations: 29.7 kB / 271.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.003962, allocations: 130.9 kB / 271.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.003963, allocations: 0 / 271.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.003977, allocations: 15.38 kB / 271.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.004071, allocations: 0.4883 MB / 271.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-06/0.004074, allocations: 4 kB / 271.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-06/0.004077, allocations: 0 / 271.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/0.004101, allocations: 119.2 kB / 272 MB, free: 5.953 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/0.004123, allocations: 119.2 kB / 272.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.164e-05/0.004155, allocations: 37.62 kB / 272.2 MB, free: 5.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.004187, allocations: 123.2 kB / 272.3 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.00421, allocations: 119.2 kB / 272.4 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.365e-05/0.004264, allocations: 242.4 kB / 272.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.558e-05/0.004289, allocations: 127.1 kB / 272.8 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-05/0.004335, allocations: 238.4 kB / 273 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.00438, allocations: 131.1 kB / 273.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.004405, allocations: 123.1 kB / 273.3 MB, free: 4.707 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 7.815e-05/0.004483, allocations: 279.7 kB / 273.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.004521, allocations: 41.7 kB / 273.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.004546, allocations: 11.92 kB / 273.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.004549, allocations: 4 kB / 273.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.00455, allocations: 0 / 273.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.004553, allocations: 0 / 273.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.342e-05/0.004606, allocations: 109.3 kB / 273.7 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.00461, allocations: 4 kB / 273.7 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.004654, allocations: 11.98 kB / 273.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.004656, allocations: 0 / 273.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.004662, allocations: 7.938 kB / 273.7 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.004663, allocations: 0 / 273.7 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.004663, allocations: 0 / 273.7 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.577e-05/0.004699, allocations: 64.62 kB / 273.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.004711, allocations: 3.984 kB / 273.8 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.00472, allocations: 4 kB / 273.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.004729, allocations: 3.984 kB / 273.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.004731, allocations: 0 / 273.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.004734, allocations: 0 / 273.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003188/0.005053, allocations: 131.1 kB / 273.9 MB, free: 3.969 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005053, allocations: 0 / 273.9 MB, free: 3.969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001234/0.005176, allocations: 8 kB / 273.9 MB, free: 3.961 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: 0 () * 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 5.686e-05/0.005233, allocations: 95.25 kB / 274 MB, free: 3.859 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.85e-05/0.005272, allocations: 7.984 kB / 274 MB, free: 3.852 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005273, allocations: 0 / 274 MB, free: 3.852 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.005274, allocations: 0 / 274 MB, free: 3.852 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.005402, allocations: 13.06 kB / 274.1 MB, free: 3.836 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.005572, allocations: 125.1 kB / 274.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.766e-05/0.005599, allocations: 59.34 kB / 274.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.005604, allocations: 0 / 274.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.005632, allocations: 70.2 kB / 274.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005633, allocations: 0 / 274.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of Templates: time 0.001401/0.007034, allocations: 314.3 kB / 274.6 MB, free: 3.234 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.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.5352128641679883]