Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001734/0.001734, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002052/0.002052, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.674/1.674, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2414/0.2414, allocations: 46.93 MB / 357.1 MB, free: 10.32 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+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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 71.88 kB / 0.4914 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1644, allocations: 66 MB / 0.5558 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001952/0.1663, allocations: 483 kB / 0.5563 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1687, allocations: 1.423 MB / 0.5577 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.1687, allocations: 0 / 0.5577 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.1687, allocations: 0 / 0.5577 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.832e-05/0.1688, allocations: 3.938 kB / 0.5577 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1699, allocations: 223.8 kB / 0.5579 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.1699, allocations: 7.984 kB / 0.5579 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.17, allocations: 0 / 0.5579 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.17, allocations: 8 kB / 0.5579 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1701, allocations: 3.984 kB / 0.5579 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1701, allocations: 0 / 0.5579 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.1707, allocations: 287.6 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1708, allocations: 3.938 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1708, allocations: 0 / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1711, allocations: 143.6 kB / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1711, allocations: 0 / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1711, allocations: 0 / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1711, allocations: 0 / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005242/0.1716, allocations: 339.3 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1717, allocations: 8.031 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.1717, allocations: 4.938 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1719, allocations: 164.4 kB / 0.5588 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1719, allocations: 8.312 kB / 0.5588 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1719, allocations: 384 / 0.5588 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1721, allocations: 38.02 kB / 0.5589 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1721, allocations: 3.938 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1721, allocations: 0 / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1721, allocations: 0 / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.1721, allocations: 0 / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.1723, allocations: 153.7 kB / 0.559 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.077e-05/0.1724, allocations: 14.58 kB / 0.559 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.1724, allocations: 12.95 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1724, allocations: 0 / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1724, allocations: 34.5 kB / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1724, allocations: 0 / 0.5591 GB, free: 1.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.1726, allocations: 45.62 kB / 0.5591 GB, free: 1.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1727, allocations: 51.41 kB / 0.5592 GB, free: 1.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1728, allocations: 97.86 kB / 0.5593 GB, free: 1.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1728, allocations: 25.7 kB / 0.5593 GB, free: 1.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.1728, allocations: 80.14 kB / 0.5594 GB, free: 1.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1729, allocations: 7.891 kB / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.1729, allocations: 13.72 kB / 0.5594 GB, free: 1.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1731, allocations: 315.1 kB / 0.5597 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.1731, allocations: 4 kB / 0.5597 GB, free: 1.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.1731, allocations: 8 kB / 0.5597 GB, free: 1.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.1732, allocations: 12.8 kB / 0.5597 GB, free: 1.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1732, allocations: 7.938 kB / 0.5597 GB, free: 1.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.172e-05/0.1732, allocations: 29.7 kB / 0.5598 GB, free: 1.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1733, allocations: 9.656 kB / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1733, allocations: 4 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1733, allocations: 3.984 kB / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.1734, allocations: 4.094 kB / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1734, allocations: 0 / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.1734, allocations: 0 / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1734, allocations: 4 kB / 0.5598 GB, free: 1.105 MB / 414.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 (1): * Single equations (assignments): 1 * 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 9.101e-05/0.1735, allocations: 108 kB / 0.5599 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.1735, allocations: 3.938 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1736, allocations: 52.75 kB / 0.5599 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1736, allocations: 3.938 kB / 0.5599 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1736, allocations: 4 kB / 0.5599 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1736, allocations: 0 / 0.5599 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1738, allocations: 149.7 kB / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.1738, allocations: 4 kB / 0.5601 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.1738, allocations: 3.984 kB / 0.5601 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1738, allocations: 3.938 kB / 0.5601 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1738, allocations: 0 / 0.5601 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1738, allocations: 0 / 0.5601 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1738, allocations: 4.031 kB / 0.5601 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.896e-05/0.1739, allocations: 61.06 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.174, allocations: 81.05 kB / 0.5602 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.174, allocations: 4 kB / 0.5602 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.1741, allocations: 0 / 0.5602 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.1741, allocations: 4 kB / 0.5602 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1741, allocations: 4 kB / 0.5602 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.39e-05/0.1741, allocations: 79.31 kB / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1741, allocations: 0 / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1745, allocations: 43.92 kB / 0.5604 GB, free: 416 kB / 414.1 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003181/0.1748, allocations: 131.2 kB / 0.5605 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1749, allocations: 11.98 kB / 0.5605 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1749, allocations: 0 / 0.5605 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.1749, allocations: 29.86 kB / 0.5605 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.1751, allocations: 8.062 kB / 0.5605 GB, free: 216 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.1754, allocations: 81 kB / 0.5606 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.1758, allocations: 0.6768 MB / 0.5613 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.008e-05/0.1758, allocations: 4 kB / 0.5613 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.1759, allocations: 7.438 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1759, allocations: 0 / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of Templates: time 0.004811/0.1807, allocations: 1.073 MB / 0.5623 GB, free: 14.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 5.3217619732022285]