Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 167.5 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.07/1.07, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.74e-05, allocations: 6.25 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002515/0.002543, allocations: 1.564 MB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003444/0.002887, allocations: 119.5 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.002964, allocations: 0 / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.002999, allocations: 3.938 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.003061, allocations: 0 / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.003346, allocations: 27.91 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.003435, allocations: 31.86 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003536, allocations: 4 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.003595, allocations: 11.98 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.003641, allocations: 11.97 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.003659, allocations: 0 / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.003669, allocations: 7.938 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.003688, allocations: 8 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.003711, allocations: 4 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.137e-05/0.003803, allocations: 23.86 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.003806, allocations: 4 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.003807, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.003812, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.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.0003304/0.004142, allocations: 240.9 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.00418, allocations: 11.98 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.004211, allocations: 4.938 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004354, allocations: 125.7 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.004365, allocations: 8.375 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.004372, allocations: 4.375 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.004562, allocations: 96.56 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.00457, allocations: 192 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.004577, allocations: 384 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.004582, allocations: 384 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.004599, allocations: 7.938 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.886e-05/0.004668, allocations: 57.05 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.004732, allocations: 38.55 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.004753, allocations: 12.8 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.004769, allocations: 0 / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.004797, allocations: 42.55 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.004797, allocations: 0 / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001095/0.004907, allocations: 41.69 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.004947, allocations: 51.41 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/0.005, allocations: 110.7 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.005012, allocations: 29.7 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.005038, allocations: 88.12 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.00504, allocations: 4 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.005057, allocations: 9.719 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.005142, allocations: 326.7 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.005145, allocations: 0 / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-06/0.00515, allocations: 0 / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.005181, allocations: 79.27 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/0.005204, allocations: 75.28 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.622e-05/0.00525, allocations: 33.69 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.005288, allocations: 79.28 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.005313, allocations: 79.22 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/0.005766, allocations: 158.6 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.005789, allocations: 75.28 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.776e-05/0.005836, allocations: 154.5 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.005901, allocations: 79.28 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.005939, allocations: 83.22 kB / 277.4 MB, free: 13.03 MB / 266.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.000134/0.006073, allocations: 189 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.006144, allocations: 37.7 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.006178, allocations: 11.98 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.006181, allocations: 0 / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.006184, allocations: 0 / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.006189, allocations: 0 / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.248e-05/0.006252, allocations: 73.78 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.006255, allocations: 240 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.748e-05/0.006333, allocations: 11.98 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006335, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.006339, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.006342, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006344, allocations: 3.984 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.094e-05/0.006385, allocations: 61.02 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006393, allocations: 3.953 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.006401, allocations: 3.984 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-06/0.006411, allocations: 8 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-06/0.006414, allocations: 0 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.006419, allocations: 256 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.217e-05/0.006441, allocations: 20.84 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006441, allocations: 0 / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.00655, allocations: 4 kB / 277.8 MB, free: 12.55 MB / 266.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 9.204e-05/0.006642, allocations: 76.41 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.827e-05/0.006691, allocations: 15.88 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.006695, allocations: 4 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.006696, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.006833, allocations: 21.09 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.007066, allocations: 107.5 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.007107, allocations: 59.34 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.737e-06/0.007116, allocations: 0 / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.007165, allocations: 55.38 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007166, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.001997/0.009163, allocations: 312 kB / 278.5 MB, free: 11.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.7333290739916265]