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.000882/0.000882, 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.0008637/0.0008637, allocations: 140.3 kB / 24.89 MB, free: 9.207 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.905/0.905, allocations: 173.3 MB / 201.5 MB, free: 9.168 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.183e-06/1.183e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.132e-05, allocations: 6.25 kB / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001642/0.001653, allocations: 1.518 MB / 270 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002017/0.001855, allocations: 107.5 kB / 270.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.001907, allocations: 7.938 kB / 270.1 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.001928, allocations: 0 / 270.1 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.001967, allocations: 7.875 kB / 270.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.002131, allocations: 23.91 kB / 270.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.002196, allocations: 27.92 kB / 270.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.002288, allocations: 8 kB / 270.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.002328, allocations: 15.98 kB / 270.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.002365, allocations: 7.922 kB / 270.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.002381, allocations: 4 kB / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.002388, allocations: 0 / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.002405, allocations: 11.98 kB / 270.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.002424, allocations: 7.938 kB / 270.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.748e-05/0.002481, allocations: 15.92 kB / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002483, allocations: 0 / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002484, allocations: 0 / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.425e-06/0.002486, allocations: 4 kB / 270.2 MB, free: 4.383 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.0002292/0.002715, allocations: 244.9 kB / 270.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.002743, allocations: 8.922 kB / 270.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.081e-05/0.002764, allocations: 4.938 kB / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.002862, allocations: 121.7 kB / 270.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.002868, allocations: 384 / 270.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.002876, allocations: 8.312 kB / 270.6 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.003006, allocations: 100.6 kB / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-06/0.00301, allocations: 192 / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-06/0.003015, allocations: 384 / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.003019, allocations: 384 / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.468e-05/0.003033, allocations: 7.938 kB / 270.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.163e-05/0.003085, allocations: 61.05 kB / 270.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.003136, allocations: 26.56 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.003153, allocations: 20.78 kB / 270.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.003163, allocations: 0 / 270.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.00318, allocations: 38.48 kB / 270.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.003181, allocations: 4 kB / 270.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.503e-05/0.003256, allocations: 49.67 kB / 270.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.003288, allocations: 55.41 kB / 271 MB, free: 3.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.003397, allocations: 102.7 kB / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.003406, allocations: 29.69 kB / 271.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.848e-05/0.003425, allocations: 84.12 kB / 271.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.003426, allocations: 0 / 271.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.003444, allocations: 13.72 kB / 271.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.003514, allocations: 314.8 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-06/0.003516, allocations: 0 / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.003519, allocations: 3.938 kB / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.647e-05/0.003536, allocations: 79.28 kB / 271.6 MB, free: 2.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.003554, allocations: 79.28 kB / 271.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.933e-05/0.003583, allocations: 29.69 kB / 271.7 MB, free: 2.762 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.003607, allocations: 86.25 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.003625, allocations: 79.28 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.00366, allocations: 154.5 kB / 272 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.536e-05/0.003675, allocations: 79.28 kB / 272.1 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/0.003704, allocations: 154.5 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.003741, allocations: 75.28 kB / 272.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.003759, allocations: 79.28 kB / 272.4 MB, free: 2.066 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 6.05e-05/0.003819, allocations: 201 kB / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.003851, allocations: 37.7 kB / 272.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.003874, allocations: 11.98 kB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.003875, allocations: 0 / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.003877, allocations: 0 / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.003879, allocations: 0 / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.261e-05/0.003922, allocations: 70.03 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.003925, allocations: 4 kB / 272.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.003971, allocations: 7.984 kB / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.003975, allocations: 4 kB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-06/0.003979, allocations: 4 kB / 272.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00398, allocations: 0 / 272.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003981, allocations: 3.938 kB / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.141e-05/0.004013, allocations: 61.02 kB / 272.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.004019, allocations: 4 kB / 272.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.004026, allocations: 3.984 kB / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.004034, allocations: 0 / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.004036, allocations: 0 / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.004039, allocations: 0 / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.004173, allocations: 12.86 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004173, allocations: 0 / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000103/0.004276, allocations: 4 kB / 272.8 MB, free: 1.582 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.661e-05/0.004332, allocations: 84.41 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 2.946e-05/0.004362, allocations: 8 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.004364, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.004364, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.628e-05/0.00445, allocations: 21.03 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001482/0.004599, allocations: 111.5 kB / 273 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.32e-05/0.004622, allocations: 59.34 kB / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.589e-06/0.004626, allocations: 4 kB / 273.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.004651, allocations: 51.38 kB / 273.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004652, allocations: 0 / 273.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of Templates: time 0.001415/0.006067, allocations: 312.9 kB / 273.4 MB, free: 0.8906 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.2983604660257697]