Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001415/0.001415, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001484/0.001484, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.239/0.239, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 0.4914 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1635, allocations: 66 MB / 0.5558 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001742/0.1652, allocations: 493 kB / 0.5563 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1675, allocations: 1.42 MB / 0.5577 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1676, allocations: 0 / 0.5577 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1676, allocations: 0 / 0.5577 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.038e-05/0.1676, allocations: 3.938 kB / 0.5577 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.1684, allocations: 219.3 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.761e-05/0.1685, allocations: 4 kB / 0.5579 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.1685, allocations: 3.984 kB / 0.5579 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.907e-05/0.1685, allocations: 7.984 kB / 0.5579 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.1686, allocations: 8 kB / 0.5579 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1686, allocations: 0 / 0.5579 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.1691, allocations: 287.5 kB / 0.5582 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.1691, allocations: 0 / 0.5582 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.1691, allocations: 0 / 0.5582 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1694, allocations: 143.6 kB / 0.5583 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1694, allocations: 0 / 0.5583 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1694, allocations: 0 / 0.5583 GB, free: 2.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1694, allocations: 0 / 0.5583 GB, free: 2.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005038/0.1699, allocations: 339.4 kB / 0.5587 GB, free: 2.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1699, allocations: 8.031 kB / 0.5587 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.17, allocations: 4.891 kB / 0.5587 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1701, allocations: 168.3 kB / 0.5588 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1701, allocations: 384 / 0.5588 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1701, allocations: 384 / 0.5588 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1703, allocations: 45.94 kB / 0.5589 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1703, allocations: 4 kB / 0.5589 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1703, allocations: 0 / 0.5589 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1703, allocations: 3.984 kB / 0.5589 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.1704, allocations: 12 kB / 0.5589 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1708, allocations: 240.9 kB / 0.5591 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.1708, allocations: 14.58 kB / 0.5591 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.1709, allocations: 8.922 kB / 0.5591 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1709, allocations: 3.938 kB / 0.5592 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.1709, allocations: 42.55 kB / 0.5592 GB, free: 1.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1709, allocations: 0 / 0.5592 GB, free: 1.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.1711, allocations: 33.7 kB / 0.5592 GB, free: 1.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1711, allocations: 51.41 kB / 0.5593 GB, free: 1.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1712, allocations: 93.8 kB / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1712, allocations: 33.7 kB / 0.5594 GB, free: 1.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.1713, allocations: 88.08 kB / 0.5595 GB, free: 1.359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.1713, allocations: 3.953 kB / 0.5595 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1713, allocations: 17.97 kB / 0.5595 GB, free: 1.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1715, allocations: 318.8 kB / 0.5598 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.1715, allocations: 4 kB / 0.5598 GB, free: 1.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.1715, allocations: 22.5 kB / 0.5598 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.1716, allocations: 30.58 kB / 0.5599 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1716, allocations: 3.938 kB / 0.5599 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.851e-05/0.1717, allocations: 45.62 kB / 0.5599 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1717, allocations: 8 kB / 0.5599 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1717, allocations: 0 / 0.5599 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1717, allocations: 0 / 0.5599 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.1717, allocations: 11.94 kB / 0.5599 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1718, allocations: 4 kB / 0.5599 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.1718, allocations: 0 / 0.5599 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1718, allocations: 4.094 kB / 0.5599 GB, free: 0.8555 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.778e-05/0.1719, allocations: 116 kB / 0.56 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1719, allocations: 0 / 0.56 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.172, allocations: 48.75 kB / 0.5601 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.172, allocations: 0 / 0.5601 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.172, allocations: 4 kB / 0.5601 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.172, allocations: 32 / 0.5601 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1722, allocations: 157.6 kB / 0.5602 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1722, allocations: 3.938 kB / 0.5602 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1722, allocations: 0 / 0.5602 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1722, allocations: 0 / 0.5602 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1722, allocations: 4 kB / 0.5603 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1722, allocations: 0 / 0.5603 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1722, allocations: 0 / 0.5603 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1723, allocations: 139.5 kB / 0.5604 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.1724, allocations: 77.11 kB / 0.5605 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1724, allocations: 0 / 0.5605 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.1724, allocations: 0 / 0.5605 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.1725, allocations: 4 kB / 0.5605 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1725, allocations: 0 / 0.5605 GB, free: 224 kB / 414.1 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.1725, allocations: 75.28 kB / 0.5605 GB, free: 148 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1725, allocations: 0 / 0.5605 GB, free: 148 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.1728, allocations: 47.92 kB / 0.5606 GB, free: 100 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.0003121/0.1731, allocations: 139.3 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1732, allocations: 15.92 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1732, allocations: 4 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.1733, allocations: 25.7 kB / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1735, allocations: 9.812 kB / 0.5608 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.1738, allocations: 73.06 kB / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.1742, allocations: 0.677 MB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.396e-05/0.1742, allocations: 12.02 kB / 0.5615 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.1742, allocations: 11.44 kB / 0.5615 GB, free: 15.07 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1742, allocations: 0 / 0.5615 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Templates: time 0.004214/0.1785, allocations: 1.075 MB / 0.5626 GB, free: 13.99 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.145933736115694]