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.001749/0.001749, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002038/0.002038, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2352/0.2352, allocations: 46.93 MB / 360.8 MB, free: 4.258 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.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 0.003038/0.003038, allocations: 71.89 kB / 0.4966 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3545, allocations: 66.03 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001578/0.3561, allocations: 0.4981 MB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003554/0.3564, allocations: 107.7 kB / 0.5617 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.3565, allocations: 0 / 0.5617 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.3565, allocations: 0 / 0.5617 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.3567, allocations: 15.92 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.095e-05/0.3567, allocations: 3.938 kB / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.3568, allocations: 8 kB / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.3569, allocations: 7.984 kB / 0.5617 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.3569, allocations: 3.938 kB / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.3569, allocations: 4 kB / 0.5617 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.3569, allocations: 0 / 0.5617 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.357, allocations: 15.98 kB / 0.5618 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.357, allocations: 7.984 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.357, allocations: 7.938 kB / 0.5618 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.3571, allocations: 19.62 kB / 0.5618 GB, free: 3.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3571, allocations: 0 / 0.5618 GB, free: 3.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3571, allocations: 0 / 0.5618 GB, free: 3.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3571, allocations: 0 / 0.5618 GB, free: 3.715 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.0003312/0.3575, allocations: 249.1 kB / 0.562 GB, free: 3.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3575, allocations: 12.03 kB / 0.562 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3575, allocations: 0.9375 kB / 0.562 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.3577, allocations: 106.5 kB / 0.5621 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.3577, allocations: 4.312 kB / 0.5621 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3577, allocations: 4.375 kB / 0.5622 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.657e-05/0.3578, allocations: 38.25 kB / 0.5622 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3578, allocations: 192 / 0.5622 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3578, allocations: 3.938 kB / 0.5622 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3578, allocations: 4 kB / 0.5622 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.3578, allocations: 4 kB / 0.5622 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.358, allocations: 124.8 kB / 0.5623 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.3582, allocations: 34.52 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.3583, allocations: 12.94 kB / 0.5624 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.3586, allocations: 47.89 kB / 0.5624 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3586, allocations: 42.48 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3586, allocations: 0 / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001323/0.3599, allocations: 193.3 kB / 0.5626 GB, free: 2.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.36, allocations: 55.41 kB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.3601, allocations: 93.86 kB / 0.5628 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3601, allocations: 25.7 kB / 0.5628 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.3601, allocations: 84.12 kB / 0.5629 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.3602, allocations: 11.91 kB / 0.5629 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3602, allocations: 17.7 kB / 0.5629 GB, free: 2.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3603, allocations: 323 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.3604, allocations: 11.98 kB / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.3605, allocations: 19.98 kB / 0.5632 GB, free: 2.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3607, allocations: 44.83 kB / 0.5633 GB, free: 2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3607, allocations: 3.938 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002101/0.3609, allocations: 81.66 kB / 0.5634 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3609, allocations: 11.94 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3609, allocations: 0 / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3609, allocations: 0 / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.361, allocations: 15.98 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.361, allocations: 0 / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.3611, allocations: 7.984 kB / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3611, allocations: 0 / 0.5634 GB, free: 1.875 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 8.002e-05/0.3612, allocations: 105.8 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.3612, allocations: 19.89 kB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.3615, allocations: 93.42 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3615, allocations: 0 / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3615, allocations: 0 / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3615, allocations: 0 / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007564/0.3623, allocations: 330.3 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3623, allocations: 0 / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3624, allocations: 15.98 kB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3624, allocations: 0 / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3624, allocations: 0 / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3624, allocations: 4 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3624, allocations: 0 / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3626, allocations: 188.2 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.3627, allocations: 7.953 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.3627, allocations: 0 / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3628, allocations: 11.98 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.3628, allocations: 0 / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3628, allocations: 8 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.594e-05/0.3628, allocations: 79.22 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3628, allocations: 0 / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3631, allocations: 11.94 kB / 0.5642 GB, free: 0.9258 MB / 398.1 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.0001242/0.3632, allocations: 99.77 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3634, allocations: 55.83 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3634, allocations: 4.094 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.3635, allocations: 23.98 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3638, allocations: 2.344 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.3642, allocations: 129.8 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3645, allocations: 0.6807 MB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.3646, allocations: 4.062 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.3646, allocations: 11.44 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3646, allocations: 0 / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Templates: time 0.003179/0.3678, allocations: 0.685 MB / 0.5659 GB, free: 15.17 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.270552755100653]