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.0007917/0.0007917, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003389/0.003389, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 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.8579/0.8579, allocations: 177.2 MB / 205 MB, free: 5.73 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.2217/0.2217, allocations: 34.26 MB / 295.7 MB, free: 0.6758 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 1.643e-06/1.643e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.399e-05, allocations: 6.219 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001363/0.001387, allocations: 0.4947 MB / 443.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.001677, allocations: 99.66 kB / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.001705, allocations: 0 / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.001722, allocations: 0 / 444 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.001948, allocations: 15.92 kB / 444 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.937e-05/0.001967, allocations: 11.98 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.002017, allocations: 3.938 kB / 444 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.002063, allocations: 7.984 kB / 444.1 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.002091, allocations: 0 / 444.1 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.002136, allocations: 4 kB / 444.1 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.002149, allocations: 0 / 444.1 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.002232, allocations: 15.98 kB / 444.1 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.002246, allocations: 0 / 444.1 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.002265, allocations: 11.92 kB / 444.1 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.002359, allocations: 19.91 kB / 444.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.002361, allocations: 8 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.002365, allocations: 0 / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.00237, allocations: 0 / 444.1 MB, free: 496 kB / 410.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.0002864/0.002656, allocations: 246.3 kB / 444.4 MB, free: 216 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.002697, allocations: 12.03 kB / 444.4 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.00273, allocations: 4.891 kB / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.002815, allocations: 101.8 kB / 444.5 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.002827, allocations: 384 / 444.5 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.002849, allocations: 12.31 kB / 444.5 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.002939, allocations: 34.25 kB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.002951, allocations: 192 / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.00296, allocations: 4.375 kB / 444.5 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.002964, allocations: 384 / 444.5 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.003004, allocations: 11.92 kB / 444.5 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1621/0.1652, allocations: 104.5 kB / 444.6 MB, free: 44.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1653, allocations: 33.31 kB / 444.7 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.1654, allocations: 13.55 kB / 444.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.1656, allocations: 35.23 kB / 444.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.448e-06/0.1656, allocations: 35 kB / 444.7 MB, free: 44.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.1656, allocations: 2.781 kB / 444.8 MB, free: 44.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006289/0.1662, allocations: 185.8 kB / 444.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.1662, allocations: 58.75 kB / 445 MB, free: 44.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.154e-05/0.1663, allocations: 93.67 kB / 445.1 MB, free: 44.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.1663, allocations: 29.23 kB / 445.1 MB, free: 44.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-06/0.1663, allocations: 82.45 kB / 445.2 MB, free: 43.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1663, allocations: 9.234 kB / 445.2 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1663, allocations: 24.11 kB / 445.2 MB, free: 43.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.286e-05/0.1663, allocations: 312.3 kB / 445.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.1664, allocations: 18.09 kB / 445.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.1664, allocations: 24.11 kB / 445.6 MB, free: 43.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.1665, allocations: 43.88 kB / 445.6 MB, free: 43.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1665, allocations: 3.75 kB / 445.6 MB, free: 43.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.104e-05/0.1666, allocations: 83.75 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1666, allocations: 5.5 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1666, allocations: 0 / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1666, allocations: 2.688 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.1667, allocations: 18.55 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1667, allocations: 0 / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.1667, allocations: 8.078 kB / 445.7 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1667, allocations: 5.312 kB / 445.7 MB, free: 43.6 MB / 410.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 3.228e-05/0.1667, allocations: 112 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-06/0.1667, allocations: 0.875 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.1669, allocations: 96.27 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1669, allocations: 0 / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1669, allocations: 3.938 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1669, allocations: 0 / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1672, allocations: 302.8 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1672, allocations: 3.188 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.1672, allocations: 15.33 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1672, allocations: 3.938 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1672, allocations: 7.203 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1673, allocations: 2.875 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1673, allocations: 0 / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/0.1673, allocations: 179.9 kB / 446.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.1674, allocations: 3.141 kB / 446.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1674, allocations: 9.312 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.1674, allocations: 8.031 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.1674, allocations: 3.031 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1674, allocations: 3.562 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.897e-06/0.1674, allocations: 78.28 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1674, allocations: 0 / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000144/0.1676, allocations: 9.062 kB / 446.6 MB, free: 42.98 MB / 410.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.666e-05/0.1677, allocations: 105.4 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1678, allocations: 47.73 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1678, allocations: 6.5 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.1678, allocations: 26.58 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.168, allocations: 2.875 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.1682, allocations: 157.6 kB / 446.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.571e-05/0.1682, allocations: 60.41 kB / 447 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.1682, allocations: 11.41 kB / 447 MB, free: 42.68 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1682, allocations: 3.969 kB / 447 MB, free: 42.68 MB / 410.7 MB Notification: Performance of Templates: time 0.001355/0.1696, allocations: 0.6807 MB / 447.7 MB, free: 42.66 MB / 410.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=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: 4.34808161854744]