Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 165.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 1.125 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.055e-05, allocations: 5.656 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.0029/0.002931, allocations: 1.502 MB / 326.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.003278, allocations: 99.77 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.003362, allocations: 5.031 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.453e-05/0.003397, allocations: 2.062 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.003446, allocations: 11.88 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.003715, allocations: 22.31 kB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.003823, allocations: 24.89 kB / 326.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.003941, allocations: 5.141 kB / 326.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.004004, allocations: 20.61 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.004052, allocations: 9.5 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.004106, allocations: 2.312 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.004117, allocations: 2.188 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.004138, allocations: 5.953 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.004177, allocations: 12.14 kB / 326.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.004279, allocations: 23.06 kB / 326.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.004283, allocations: 5.797 kB / 326.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004284, allocations: 0 / 326.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.004294, allocations: 0 / 326.8 MB, free: 15.37 MB / 302.1 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.0004735/0.004767, allocations: 266.7 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.004807, allocations: 9.594 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.004838, allocations: 10.92 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.005066, allocations: 119.6 kB / 327.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.005081, allocations: 1.5 kB / 327.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.005097, allocations: 2.406 kB / 327.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.005429, allocations: 109.5 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.00544, allocations: 0.9375 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.005448, allocations: 1.719 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005452, allocations: 4.312 kB / 327.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.005537, allocations: 23.73 kB / 327.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.00568, allocations: 111.5 kB / 327.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.005846, allocations: 55.41 kB / 327.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.005906, allocations: 21.36 kB / 327.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.005927, allocations: 1.688 kB / 327.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.005956, allocations: 33.22 kB / 327.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005957, allocations: 0 / 327.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002362/0.006194, allocations: 73.7 kB / 327.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.006245, allocations: 54.95 kB / 327.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.006356, allocations: 108.7 kB / 327.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.006382, allocations: 33.7 kB / 327.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.006441, allocations: 82.05 kB / 327.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.006444, allocations: 0 / 327.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.006467, allocations: 11.97 kB / 327.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.006625, allocations: 318.1 kB / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-06/0.006629, allocations: 256 / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-06/0.006632, allocations: 0 / 328.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.006671, allocations: 80.5 kB / 328.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-05/0.006705, allocations: 75.28 kB / 328.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.639e-05/0.006772, allocations: 33.05 kB / 328.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.006819, allocations: 81.72 kB / 328.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/0.006857, allocations: 80.34 kB / 328.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.555e-05/0.006953, allocations: 158 kB / 328.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.291e-05/0.006986, allocations: 75.28 kB / 328.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.038e-05/0.007066, allocations: 156.6 kB / 329 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.007147, allocations: 81.33 kB / 329 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.007184, allocations: 80.5 kB / 329.1 MB, free: 13.11 MB / 302.1 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.0001188/0.007303, allocations: 184 kB / 329.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.007426, allocations: 70.72 kB / 329.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.007456, allocations: 5.031 kB / 329.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007458, allocations: 5.062 kB / 329.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007462, allocations: 0 / 329.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.007467, allocations: 6.062 kB / 329.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.007569, allocations: 106.8 kB / 329.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.007573, allocations: 0 / 329.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.007653, allocations: 8.656 kB / 329.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.007656, allocations: 1.188 kB / 329.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.007663, allocations: 0 / 329.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.007667, allocations: 1.953 kB / 329.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.007668, allocations: 0 / 329.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.007837, allocations: 95.75 kB / 329.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.007846, allocations: 3.953 kB / 329.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.007859, allocations: 4.109 kB / 329.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.007884, allocations: 1.828 kB / 329.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-06/0.007889, allocations: 3.984 kB / 329.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.007895, allocations: 3.594 kB / 329.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.007955, allocations: 84.97 kB / 329.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.007955, allocations: 0 / 329.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.00818, allocations: 3.125 kB / 329.7 MB, free: 12.56 MB / 302.1 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 0.000139/0.008319, allocations: 105.3 kB / 329.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.008416, allocations: 14.5 kB / 329.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008417, allocations: 1.281 kB / 329.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.008418, allocations: 0 / 329.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.008681, allocations: 23.14 kB / 329.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.008975, allocations: 112.8 kB / 330 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.009033, allocations: 63.38 kB / 330 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.009046, allocations: 2.219 kB / 330 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.009074, allocations: 9.719 kB / 330 MB, free: 12.26 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.009075, allocations: 4 kB / 330 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002788/0.01186, allocations: 291.5 kB / 330.3 MB, free: 12.19 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.406641393899918]