Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001042/0.001042, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009719/0.0009719, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9868/0.9868, allocations: 177.1 MB / 205 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 34.26 MB / 295.7 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 4 kB / 378 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.062e-05, allocations: 2.312 kB / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001091/0.001111, allocations: 0.5157 MB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000259/0.001371, allocations: 95.72 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.001396, allocations: 0 / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.001414, allocations: 7.875 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.001637, allocations: 15.97 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.314e-05/0.00165, allocations: 3.938 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.001696, allocations: 4 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.001735, allocations: 4 kB / 378.7 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.703e-05/0.001762, allocations: 4 kB / 378.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.001803, allocations: 7.922 kB / 378.7 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.001816, allocations: 4 kB / 378.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.00189, allocations: 19.98 kB / 378.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.001902, allocations: 0 / 378.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.001917, allocations: 3.984 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.315e-05/0.002001, allocations: 23.91 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002003, allocations: 0 / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002003, allocations: 0 / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.002008, allocations: 0 / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002505/0.002258, allocations: 348.4 kB / 379.1 MB, free: 1.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.002297, allocations: 8.031 kB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.00233, allocations: 5.281 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.063e-05/0.0024, allocations: 112.6 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.002409, allocations: 4.312 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.002432, allocations: 4.375 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.002506, allocations: 42.19 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.002515, allocations: 192 / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.002523, allocations: 384 / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.002537, allocations: 384 / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.002561, allocations: 7.938 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.002674, allocations: 112.7 kB / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.002837, allocations: 39.06 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.002858, allocations: 19.77 kB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.003047, allocations: 31.91 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.00307, allocations: 37.39 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.003072, allocations: 3.984 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006416/0.003714, allocations: 162.1 kB / 379.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.003742, allocations: 55.34 kB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.003803, allocations: 149.9 kB / 379.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.003814, allocations: 25.7 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.003845, allocations: 126.9 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.003872, allocations: 23.84 kB / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.003903, allocations: 19.38 kB / 380 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.004028, allocations: 496.1 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.004051, allocations: 11.98 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.004066, allocations: 4.125 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.004108, allocations: 31.69 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.004109, allocations: 0 / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.124e-05/0.004181, allocations: 61.81 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.004195, allocations: 8.625 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004199, allocations: 0 / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.004212, allocations: 0 / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.004277, allocations: 11.98 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.004283, allocations: 3.938 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.004316, allocations: 11.98 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.004323, allocations: 8 kB / 380.7 MB, free: 15.84 MB / 362.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 (5): * Single equations (assignments): 5 * 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.824e-05/0.004381, allocations: 152.6 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.00439, allocations: 4 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.004503, allocations: 69.27 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.004505, allocations: 3.938 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.00451, allocations: 7.938 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.004513, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.004862, allocations: 333 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.004863, allocations: 4 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.004902, allocations: 11.98 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.004904, allocations: 0 / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.004914, allocations: 11.94 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.004915, allocations: 0 / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004916, allocations: 0 / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.00502, allocations: 215.5 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-06/0.005025, allocations: 4 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.005036, allocations: 7.969 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.005077, allocations: 4.188 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.005094, allocations: 7.984 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.005098, allocations: 4 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.969e-05/0.005128, allocations: 119.2 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005128, allocations: 0 / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.00528, allocations: 15.94 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.551e-05/0.005376, allocations: 95.25 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.432e-05/0.00547, allocations: 39.69 kB / 381.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.005473, allocations: 8 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.005493, allocations: 15.69 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.005638, allocations: 8 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.005874, allocations: 141.9 kB / 381.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.005907, allocations: 59.28 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.005932, allocations: 8.062 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.005959, allocations: 12.5 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005959, allocations: 0 / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Templates: time 0.002069/0.008029, allocations: 0.703 MB / 382.7 MB, free: 13.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.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: 3.1154122790321708]