Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001309/0.001309, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.00148/0.00148, allocations: 205.3 kB / 24.48 MB, free: 3.695 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2297/0.2297, allocations: 46.95 MB / 361.6 MB, free: 4.043 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3678, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0018/0.3696, allocations: 0.5265 MB / 0.5623 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004638/0.3701, allocations: 147.6 kB / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.3701, allocations: 3.938 kB / 0.5625 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.3701, allocations: 4 kB / 0.5625 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.3704, allocations: 27.84 kB / 0.5625 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.929e-06/0.3704, allocations: 0 / 0.5625 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.3705, allocations: 27.86 kB / 0.5625 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.006e-05/0.3705, allocations: 7.984 kB / 0.5625 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.3705, allocations: 11.94 kB / 0.5625 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.3706, allocations: 15.84 kB / 0.5626 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3706, allocations: 8 kB / 0.5626 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.3707, allocations: 47.95 kB / 0.5626 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.3708, allocations: 3.984 kB / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.3708, allocations: 11.94 kB / 0.5626 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3709, allocations: 43.53 kB / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3709, allocations: 0 / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3709, allocations: 0 / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3709, allocations: 0 / 0.5627 GB, free: 3.273 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003829/0.3713, allocations: 268.9 kB / 0.5629 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3714, allocations: 8.031 kB / 0.5629 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3714, allocations: 4.938 kB / 0.5629 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3715, allocations: 110.5 kB / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3715, allocations: 4.375 kB / 0.563 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3715, allocations: 384 / 0.563 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3717, allocations: 70.11 kB / 0.5631 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3717, allocations: 192 / 0.5631 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3717, allocations: 3.938 kB / 0.5631 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3717, allocations: 4 kB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3718, allocations: 51.89 kB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.372, allocations: 121.3 kB / 0.5633 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3722, allocations: 66.56 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.3722, allocations: 32.84 kB / 0.5634 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.3725, allocations: 20.27 kB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3725, allocations: 38.48 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3725, allocations: 0 / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002432/0.3727, allocations: 105.6 kB / 0.5635 GB, free: 2.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3728, allocations: 55.41 kB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.3729, allocations: 93.84 kB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3729, allocations: 29.83 kB / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.3729, allocations: 84.14 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.373, allocations: 35.69 kB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.373, allocations: 25.7 kB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3731, allocations: 314.8 kB / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.3732, allocations: 15.98 kB / 0.5642 GB, free: 1.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.3732, allocations: 20.38 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/0.3733, allocations: 56.91 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3733, allocations: 0 / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001293/0.3734, allocations: 85.64 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3735, allocations: 7.938 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3735, allocations: 4 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3735, allocations: 3.938 kB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3736, allocations: 23.98 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3736, allocations: 0 / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.3736, allocations: 3.938 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3736, allocations: 8 kB / 0.5644 GB, free: 1.359 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 (10): * Single equations (assignments): 10 * 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.447e-05/0.3737, allocations: 105.8 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.3737, allocations: 11.94 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.3739, allocations: 101.5 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3739, allocations: 7.938 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3739, allocations: 7.938 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3739, allocations: 0 / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.3741, allocations: 109.3 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.3741, allocations: 4 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.3741, allocations: 19.92 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3741, allocations: 0 / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3741, allocations: 0 / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3741, allocations: 0 / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3741, allocations: 7.938 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3743, allocations: 121.1 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.3743, allocations: 3.938 kB / 0.5648 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3743, allocations: 4 kB / 0.5648 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.3744, allocations: 8 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.3744, allocations: 7.922 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3744, allocations: 4 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.3744, allocations: 75.28 kB / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3744, allocations: 0 / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.3746, allocations: 16 kB / 0.565 GB, free: 0.6875 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001439/0.3748, allocations: 111.2 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.3749, allocations: 56.02 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3749, allocations: 0 / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.375, allocations: 27.92 kB / 0.5651 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.3751, allocations: 8 kB / 0.5651 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.3755, allocations: 162.6 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.014e-05/0.3756, allocations: 67.34 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.3756, allocations: 11.44 kB / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3756, allocations: 0 / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of Templates: time 0.002695/0.3783, allocations: 0.8255 MB / 0.5662 GB, free: 15.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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: 7.2528678069938906]