Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.00161/0.00161, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001963/0.001963, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 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.409/1.409, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2189/0.2189, allocations: 46.88 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3016, allocations: 65.98 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001972/0.3036, allocations: 0.498 MB / 0.5617 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000393/0.3039, allocations: 111.6 kB / 0.5618 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.304, allocations: 3.938 kB / 0.5618 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.304, allocations: 3.938 kB / 0.5618 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.3042, allocations: 11.98 kB / 0.5618 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.282e-05/0.3042, allocations: 7.938 kB / 0.5618 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.3043, allocations: 4 kB / 0.5618 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.3043, allocations: 4 kB / 0.5618 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.3044, allocations: 0 / 0.5618 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.3044, allocations: 7.922 kB / 0.5618 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3044, allocations: 0 / 0.5618 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.3045, allocations: 23.97 kB / 0.5618 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.3045, allocations: 0 / 0.5618 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.3045, allocations: 4 kB / 0.5618 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.837e-05/0.3046, allocations: 18.73 kB / 0.5619 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3046, allocations: 7.984 kB / 0.5619 GB, free: 4.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3046, allocations: 0 / 0.5619 GB, free: 4.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3046, allocations: 0 / 0.5619 GB, free: 4.359 MB / 398.1 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.0004253/0.3051, allocations: 323.5 kB / 0.5622 GB, free: 3.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.3051, allocations: 8.031 kB / 0.5622 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.3052, allocations: 0.9375 kB / 0.5622 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3053, allocations: 172.3 kB / 0.5623 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3053, allocations: 4.375 kB / 0.5623 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3054, allocations: 384 / 0.5623 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.3055, allocations: 38.27 kB / 0.5624 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3055, allocations: 192 / 0.5624 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3055, allocations: 3.938 kB / 0.5624 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3055, allocations: 3.984 kB / 0.5624 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.3055, allocations: 4 kB / 0.5624 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.3058, allocations: 157.7 kB / 0.5625 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.306, allocations: 34.52 kB / 0.5626 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.306, allocations: 16.94 kB / 0.5626 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/0.3064, allocations: 113.1 kB / 0.5627 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.3065, allocations: 30.56 kB / 0.5627 GB, free: 3.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.3065, allocations: 0 / 0.5627 GB, free: 3.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001536/0.308, allocations: 197.3 kB / 0.5629 GB, free: 3.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3081, allocations: 51.41 kB / 0.563 GB, free: 3.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.3081, allocations: 93.86 kB / 0.5631 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3082, allocations: 29.7 kB / 0.5631 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.3082, allocations: 84.2 kB / 0.5632 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3082, allocations: 11.91 kB / 0.5632 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3083, allocations: 21.7 kB / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3085, allocations: 310.8 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3086, allocations: 19.98 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3087, allocations: 27.98 kB / 0.5635 GB, free: 2.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3089, allocations: 48.77 kB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3089, allocations: 4 kB / 0.5636 GB, free: 2.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003136/0.3092, allocations: 73.66 kB / 0.5637 GB, free: 2.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3092, allocations: 11.94 kB / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3092, allocations: 0 / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3093, allocations: 0 / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3094, allocations: 11.98 kB / 0.5637 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3094, allocations: 4 kB / 0.5637 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3096, allocations: 11.98 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3096, allocations: 8 kB / 0.5637 GB, free: 2.223 MB / 398.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 (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 0.0001012/0.3097, allocations: 105.8 kB / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3097, allocations: 11.89 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.3101, allocations: 89.14 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3101, allocations: 0 / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3101, allocations: 4 kB / 0.5639 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.3101, allocations: 77.11 kB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3101, allocations: 4 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3103, allocations: 7.984 kB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.3103, allocations: 4.25 kB / 0.564 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004304/0.3107, allocations: 165.1 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003894/0.3111, allocations: 250.7 kB / 0.5644 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00012/0.3112, allocations: 27.97 kB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.334e-05/0.3113, allocations: 79.28 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Backend: time 3.3e-07/0.3113, allocations: 0 / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.3119, allocations: 110.4 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005222/0.3125, allocations: 0.5526 MB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of Templates: time 0.004077/0.3165, allocations: 0.7672 MB / 0.5659 GB, free: 15.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.810048542916775]