Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001095/0.001095, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.002722, allocations: 452 kB / 10.43 MB, free: 264 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.001098/0.001098, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002561, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8633/0.8633, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1417/1.005, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1198/0.1198, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03159/0.1514, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 267.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.497e-05, allocations: 6.25 kB / 267.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00139/0.001415, allocations: 0.6027 MB / 268 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.001545, allocations: 63.66 kB / 268.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.001564, allocations: 0 / 268.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.44e-06/0.001569, allocations: 4 kB / 268.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.001673, allocations: 15.92 kB / 268.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.284e-05/0.001686, allocations: 3.984 kB / 268.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.001737, allocations: 11.92 kB / 268.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.001774, allocations: 0 / 268.1 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.001818, allocations: 4 kB / 268.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.001874, allocations: 4 kB / 268.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.001887, allocations: 0 / 268.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.001975, allocations: 23.97 kB / 268.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.001988, allocations: 3.938 kB / 268.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.134e-05/0.001999, allocations: 4 kB / 268.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.113e-05/0.002091, allocations: 15.98 kB / 268.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.002103, allocations: 4 kB / 268.2 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.002104, allocations: 0 / 268.2 MB, free: 1.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.002114, allocations: 0 / 268.2 MB, free: 1.766 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002969/0.002411, allocations: 224.6 kB / 268.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.002448, allocations: 8.031 kB / 268.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.002478, allocations: 4.938 kB / 268.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/0.002576, allocations: 105.7 kB / 268.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.00259, allocations: 384 / 268.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.002622, allocations: 8.375 kB / 268.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.511e-05/0.002707, allocations: 34.25 kB / 268.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.002717, allocations: 4.188 kB / 268.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.002723, allocations: 384 / 268.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.002729, allocations: 384 / 268.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.002753, allocations: 11.92 kB / 268.6 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.002853, allocations: 57.05 kB / 268.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.003028, allocations: 34.48 kB / 268.7 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.003044, allocations: 12.86 kB / 268.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.003243, allocations: 36.05 kB / 268.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.003264, allocations: 34.56 kB / 268.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003265, allocations: 0 / 268.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006636/0.003928, allocations: 251.2 kB / 269 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.00396, allocations: 55.41 kB / 269 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.68e-05/0.004007, allocations: 94.72 kB / 269.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.004017, allocations: 33.64 kB / 269.2 MB, free: 0.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.00404, allocations: 88.12 kB / 269.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.004067, allocations: 11.84 kB / 269.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.004096, allocations: 21.7 kB / 269.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.004173, allocations: 318.8 kB / 269.6 MB, free: 180 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.004191, allocations: 8 kB / 269.6 MB, free: 172 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.004203, allocations: 4 kB / 269.6 MB, free: 168 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.004239, allocations: 25.03 kB / 269.6 MB, free: 140 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.00424, allocations: 4.125 kB / 269.6 MB, free: 136 kB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.264e-05/0.004303, allocations: 41.69 kB / 269.7 MB, free: 88 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.004323, allocations: 8 kB / 269.7 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004328, allocations: 0 / 269.7 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.004341, allocations: 3.938 kB / 269.7 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.004428, allocations: 11.98 kB / 269.7 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.00443, allocations: 4 kB / 269.7 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.004462, allocations: 11.92 kB / 269.7 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.004468, allocations: 4 kB / 269.7 MB, free: 44 kB / 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 (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 7.004e-05/0.004538, allocations: 109.8 kB / 269.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-06/0.004547, allocations: 4 kB / 269.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.00465, allocations: 53.33 kB / 269.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.004652, allocations: 0 / 269.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.004654, allocations: 0 / 269.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.004657, allocations: 0 / 269.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.004947, allocations: 235.5 kB / 270.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.004948, allocations: 4.031 kB / 270.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.004993, allocations: 15.92 kB / 270.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.005, allocations: 7.984 kB / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.005003, allocations: 0 / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.005008, allocations: 3.938 kB / 270.2 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.005011, allocations: 3.938 kB / 270.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005012, allocations: 4 kB / 270.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.746e-05/0.005099, allocations: 148.6 kB / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005109, allocations: 4 kB / 270.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.005149, allocations: 7.984 kB / 270.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.005164, allocations: 11.94 kB / 270.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.005169, allocations: 7.938 kB / 270.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.149e-05/0.00518, allocations: 8.844 kB / 270.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00518, allocations: 0 / 270.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.005314, allocations: 11.98 kB / 270.4 MB, free: 15.35 MB / 282.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 0.0001161/0.00543, allocations: 80.36 kB / 270.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.005509, allocations: 28.84 kB / 270.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.005514, allocations: 0 / 270.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.005537, allocations: 21.28 kB / 270.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.005662, allocations: 7.984 kB / 270.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.005903, allocations: 133.3 kB / 270.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.005939, allocations: 63.28 kB / 270.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.945e-05/0.005968, allocations: 8.094 kB / 270.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.006014, allocations: 51.38 kB / 270.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.006016, allocations: 0 / 270.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of Templates: time 0.002282/0.008298, allocations: 0.7853 MB / 271.5 MB, free: 14.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.497400004416704]