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.0008733/0.0008733, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009503/0.0009503, allocations: 141.7 kB / 24.89 MB, free: 8.777 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.9418/0.9418, allocations: 173.4 MB / 201.5 MB, free: 8.758 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 7.22e-07/7.22e-07, allocations: 3.938 kB / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.166e-06/8.888e-06, allocations: 2.312 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001615/0.001623, allocations: 1.553 MB / 270.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000154/0.001777, allocations: 111.5 kB / 270.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.001805, allocations: 0 / 270.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.001817, allocations: 7.938 kB / 270.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.069e-05/0.001838, allocations: 7.875 kB / 270.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.001941, allocations: 23.97 kB / 270.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 3.754e-05/0.001978, allocations: 23.92 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.002012, allocations: 8 kB / 270.3 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.002038, allocations: 19.92 kB / 270.3 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.646e-05/0.002055, allocations: 0 / 270.3 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.002068, allocations: 4 kB / 270.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-06/0.002073, allocations: 0 / 270.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.002088, allocations: 15.97 kB / 270.3 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.002104, allocations: 7.938 kB / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.535e-05/0.002159, allocations: 19.86 kB / 270.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002161, allocations: 4 kB / 270.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002162, allocations: 4 kB / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.415e-06/0.002164, allocations: 0 / 270.3 MB, free: 4.152 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.0001984/0.002363, allocations: 236.9 kB / 270.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.479e-05/0.002388, allocations: 8.922 kB / 270.6 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.002408, allocations: 12.92 kB / 270.6 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.002507, allocations: 117.7 kB / 270.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.002513, allocations: 4.359 kB / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.002519, allocations: 4.375 kB / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.002642, allocations: 100.6 kB / 270.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-06/0.002647, allocations: 192 / 270.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.002653, allocations: 4.375 kB / 270.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.002656, allocations: 384 / 270.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.002673, allocations: 15.86 kB / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.925e-05/0.002722, allocations: 57.05 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.002769, allocations: 30.55 kB / 270.9 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.002785, allocations: 12.86 kB / 270.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.002794, allocations: 0 / 270.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.00281, allocations: 38.56 kB / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 4.81e-07/0.002811, allocations: 0 / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 6.892e-05/0.00288, allocations: 45.62 kB / 271 MB, free: 3.371 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.002906, allocations: 55.41 kB / 271.1 MB, free: 3.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.389e-05/0.002949, allocations: 110.7 kB / 271.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.002956, allocations: 25.7 kB / 271.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.002975, allocations: 84.12 kB / 271.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.002976, allocations: 0 / 271.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.002992, allocations: 13.72 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.003057, allocations: 322.8 kB / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-06/0.003059, allocations: 0 / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-06/0.003061, allocations: 4 kB / 271.6 MB, free: 2.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.555e-05/0.003077, allocations: 75.28 kB / 271.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.003091, allocations: 79.28 kB / 271.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.266e-05/0.003124, allocations: 29.64 kB / 271.8 MB, free: 2.531 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.003145, allocations: 83.28 kB / 271.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.003162, allocations: 75.28 kB / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.003196, allocations: 150.6 kB / 272.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.677e-05/0.003213, allocations: 87.2 kB / 272.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.00324, allocations: 150.6 kB / 272.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.003276, allocations: 79.22 kB / 272.4 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.00329, allocations: 75.28 kB / 272.5 MB, free: 1.84 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 5.431e-05/0.003344, allocations: 201 kB / 272.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.003368, allocations: 41.62 kB / 272.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.003386, allocations: 11.94 kB / 272.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.003387, allocations: 240 / 272.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.003389, allocations: 0 / 272.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.003391, allocations: 0 / 272.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.835e-05/0.003429, allocations: 81.75 kB / 272.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00343, allocations: 0 / 272.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.003461, allocations: 8 kB / 272.8 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.003462, allocations: 0 / 272.8 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.003465, allocations: 4 kB / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.003466, allocations: 0 / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.003466, allocations: 0 / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.939e-05/0.003496, allocations: 57.06 kB / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.003501, allocations: 4 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-06/0.003507, allocations: 0 / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.003515, allocations: 256 / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.003517, allocations: 0 / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.003521, allocations: 11.94 kB / 272.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.043e-05/0.003531, allocations: 12.84 kB / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003531, allocations: 0 / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000104/0.003635, allocations: 8 kB / 272.9 MB, free: 1.348 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 4.9e-05/0.003684, allocations: 76.42 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 2.899e-05/0.003713, allocations: 8 kB / 273 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.003715, allocations: 0 / 273 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.003716, allocations: 4 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.125e-05/0.003798, allocations: 17.08 kB / 273 MB, free: 1.234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001382/0.003936, allocations: 115.4 kB / 273.1 MB, free: 1.098 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.559e-05/0.003961, allocations: 59.34 kB / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.368e-06/0.003966, allocations: 4 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.00399, allocations: 51.38 kB / 273.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of SimCode: time 3.5e-07/0.003991, allocations: 0 / 273.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of Templates: time 0.001339/0.005329, allocations: 315.6 kB / 273.5 MB, free: 0.6602 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 -s gbode -gbm=radauIIA3 -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.4611906008794904]