Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005923/0.005923, allocations: 157.5 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8861/0.8861, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 34.24 MB / 295.6 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.703e-05/3.911e-05, allocations: 6.219 kB / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001362/0.001401, allocations: 0.4933 MB / 443.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1649/0.1663, allocations: 1.347 MB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.1664, allocations: 1.625 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.1664, allocations: 2.625 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.1664, allocations: 2.516 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.1669, allocations: 220.9 kB / 445.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.167, allocations: 6.172 kB / 445.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.167, allocations: 6.344 kB / 445.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.1671, allocations: 2.875 kB / 445.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.1671, allocations: 9.938 kB / 445.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1671, allocations: 0 / 445.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.1674, allocations: 264.3 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.1674, allocations: 2.969 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.1675, allocations: 0 / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1677, allocations: 192.9 kB / 445.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1677, allocations: 0 / 445.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1677, allocations: 3.219 kB / 445.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1677, allocations: 0.8438 kB / 445.9 MB, free: 43.57 MB / 410.7 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.0002984/0.168, allocations: 263.4 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.168, allocations: 8.781 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.1681, allocations: 7.672 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.981e-05/0.1681, allocations: 105 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1681, allocations: 3.281 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.1681, allocations: 384 / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.1682, allocations: 63.73 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1682, allocations: 0.75 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.1682, allocations: 1.594 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1682, allocations: 4.438 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.1683, allocations: 5.188 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.962e-05/0.1683, allocations: 99.36 kB / 446.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.1684, allocations: 21.55 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.1684, allocations: 6.859 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.1684, allocations: 6.781 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1684, allocations: 30.56 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.1684, allocations: 0 / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1685, allocations: 38.89 kB / 446.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.1686, allocations: 55.34 kB / 446.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/0.1686, allocations: 96.8 kB / 446.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-06/0.1686, allocations: 25.7 kB / 446.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/0.1686, allocations: 85.78 kB / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1686, allocations: 5.375 kB / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.1687, allocations: 12.66 kB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.805e-05/0.1687, allocations: 313.8 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.1687, allocations: 6.375 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.1687, allocations: 6.75 kB / 447.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.934e-05/0.1687, allocations: 7.859 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1687, allocations: 0 / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.054e-05/0.1688, allocations: 38.52 kB / 447.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1688, allocations: 5.562 kB / 447.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1688, allocations: 4.094 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1688, allocations: 0 / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.1688, allocations: 2.719 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1688, allocations: 3.938 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-06/0.1689, allocations: 2.656 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1689, allocations: 0 / 447.2 MB, free: 42.22 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 (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 3.472e-05/0.1689, allocations: 116.8 kB / 447.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-06/0.1689, allocations: 5.594 kB / 447.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.442e-05/0.169, allocations: 48.36 kB / 447.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.169, allocations: 0 / 447.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.169, allocations: 3.938 kB / 447.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.169, allocations: 0 / 447.4 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.065e-05/0.169, allocations: 95.92 kB / 447.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.169, allocations: 10.52 kB / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.169, allocations: 6.016 kB / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.169, allocations: 0 / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.169, allocations: 0 / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.169, allocations: 3 kB / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.169, allocations: 4 kB / 447.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.362e-05/0.1691, allocations: 61.67 kB / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.1691, allocations: 7.359 kB / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.1691, allocations: 2.969 kB / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.154e-05/0.1692, allocations: 0 / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.1692, allocations: 0 / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1692, allocations: 6.812 kB / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.1692, allocations: 78.06 kB / 447.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1692, allocations: 0 / 447.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.1694, allocations: 45.7 kB / 447.7 MB, free: 41.77 MB / 410.7 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.0001924/0.1695, allocations: 145.5 kB / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.79e-05/0.1696, allocations: 2.75 kB / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1696, allocations: 2.844 kB / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.109e-05/0.1696, allocations: 29.64 kB / 447.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.1697, allocations: 6.5 kB / 447.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.1699, allocations: 109.8 kB / 448 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.351e-05/0.17, allocations: 61.31 kB / 448.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.17, allocations: 15.72 kB / 448.1 MB, free: 41.44 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.17, allocations: 0 / 448.1 MB, free: 41.44 MB / 410.7 MB Notification: Performance of Templates: time 0.00176/0.1717, allocations: 0.9088 MB / 449 MB, free: 41.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.581344929523766]