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.0009738/0.0009738, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002461, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00111/0.00111, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002459, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.143/1.143, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1065/1.25, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.312e-06/1.312e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.617e-05, allocations: 8.922 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002514/0.00253, allocations: 1.579 MB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.00272, allocations: 96.36 kB / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.002753, allocations: 0 / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.00277, allocations: 3.938 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.786e-05/0.002788, allocations: 0 / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.0029, allocations: 31.84 kB / 246.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.002957, allocations: 23.88 kB / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/0.003019, allocations: 19.97 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.003064, allocations: 15.98 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.003094, allocations: 11.92 kB / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.003107, allocations: 0 / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.003114, allocations: 4 kB / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.003127, allocations: 0 / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.003147, allocations: 11.94 kB / 246.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.417e-05/0.003201, allocations: 12 kB / 246.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.003208, allocations: 0 / 246.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003209, allocations: 0 / 246.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.003217, allocations: 0 / 246.3 MB, free: 12.48 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.0002444/0.003462, allocations: 252.6 kB / 246.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.395e-05/0.003486, allocations: 8.031 kB / 246.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.784e-05/0.003504, allocations: 8.875 kB / 246.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.003616, allocations: 125.6 kB / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.003624, allocations: 12.36 kB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.003631, allocations: 384 / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.003801, allocations: 92.58 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-06/0.003806, allocations: 4.188 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-06/0.00381, allocations: 384 / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.003813, allocations: 384 / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.003831, allocations: 7.938 kB / 246.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.788e-05/0.003889, allocations: 61.03 kB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.003964, allocations: 42.5 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.003985, allocations: 12.84 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.003998, allocations: 0 / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.004017, allocations: 34.56 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004018, allocations: 0 / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.595e-05/0.004094, allocations: 49.67 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.004127, allocations: 55.41 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.004183, allocations: 110.7 kB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.004194, allocations: 29.64 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.004218, allocations: 84.14 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.004219, allocations: 0 / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.004237, allocations: 9.719 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.004324, allocations: 314.8 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-06/0.004327, allocations: 4.25 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.00433, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.004354, allocations: 79.28 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/0.004374, allocations: 79.28 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.499e-05/0.004419, allocations: 33.69 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.004449, allocations: 82.09 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.004472, allocations: 79.22 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.74e-05/0.004519, allocations: 154.6 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.16e-05/0.004541, allocations: 79.3 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.263e-05/0.004584, allocations: 162.5 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.004646, allocations: 79.28 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.004668, allocations: 79.22 kB / 248.5 MB, free: 10.14 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 0.0001278/0.004796, allocations: 189 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.00484, allocations: 49.62 kB / 248.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.004859, allocations: 8 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.004861, allocations: 0 / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.004863, allocations: 0 / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.004865, allocations: 0 / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.084e-05/0.004916, allocations: 65.84 kB / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.004918, allocations: 0 / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.004974, allocations: 11.98 kB / 248.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.004983, allocations: 7.953 kB / 248.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.004985, allocations: 0 / 248.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-06/0.004988, allocations: 4 kB / 248.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.004991, allocations: 7.922 kB / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.004992, allocations: 0 / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.957e-05/0.005031, allocations: 57.06 kB / 248.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.005042, allocations: 4 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.005059, allocations: 4 kB / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-06/0.005061, allocations: 0 / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005064, allocations: 0 / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.305e-05/0.005077, allocations: 8.859 kB / 248.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005077, allocations: 0 / 248.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000174/0.005251, allocations: 4 kB / 248.9 MB, free: 9.672 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 6.475e-05/0.005316, allocations: 84.41 kB / 249 MB, free: 9.578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.434e-05/0.00535, allocations: 11.92 kB / 249 MB, free: 9.566 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005352, allocations: 0 / 249 MB, free: 9.566 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-07/0.005353, allocations: 0 / 249 MB, free: 9.566 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.664e-05/0.005439, allocations: 27.84 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.00575, allocations: 115.3 kB / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.957e-05/0.00578, allocations: 55.36 kB / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.751e-06/0.005786, allocations: 4 kB / 249.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.005815, allocations: 51.38 kB / 249.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005815, allocations: 0 / 249.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of Templates: time 0.001624/0.007439, allocations: 313.2 kB / 249.6 MB, free: 8.969 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",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.5664521483704448]