Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.0009121/0.0009121, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009058/0.0009058, allocations: 170.4 kB / 24.91 MB, free: 9.184 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.9442/0.9442, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 32.8 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.257e-05, allocations: 2.312 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001169/0.001191, allocations: 0.4985 MB / 323.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.002563, allocations: 1.389 MB / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.002588, allocations: 0 / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.002601, allocations: 0 / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.821e-05/0.002629, allocations: 0 / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.003154, allocations: 219.9 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.378e-05/0.003198, allocations: 7.938 kB / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.00323, allocations: 8.609 kB / 325.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.003258, allocations: 4 kB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.003297, allocations: 0 / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.003313, allocations: 0 / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.003614, allocations: 259.6 kB / 325.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.003627, allocations: 0 / 325.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.245e-05/0.00364, allocations: 3.984 kB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.00383, allocations: 199.4 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003832, allocations: 4 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003833, allocations: 0 / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.003836, allocations: 0 / 325.8 MB, free: 7.117 MB / 298.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.0002242/0.00406, allocations: 241.7 kB / 326 MB, free: 6.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.004088, allocations: 8.031 kB / 326 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.004112, allocations: 8.922 kB / 326 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.173e-05/0.004174, allocations: 102.1 kB / 326.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.004181, allocations: 384 / 326.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.00419, allocations: 4.375 kB / 326.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.004253, allocations: 55.91 kB / 326.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.004259, allocations: 4.188 kB / 326.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.004265, allocations: 384 / 326.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004272, allocations: 11.92 kB / 326.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-06/0.004278, allocations: 0 / 326.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.796e-05/0.004336, allocations: 61 kB / 326.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.966e-05/0.004366, allocations: 18.56 kB / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.008e-05/0.004376, allocations: 4.859 kB / 326.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.004381, allocations: 0 / 326.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.004403, allocations: 46.59 kB / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.004403, allocations: 0 / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 7.005e-05/0.004473, allocations: 37.69 kB / 326.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.004497, allocations: 51.41 kB / 326.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.004543, allocations: 98.72 kB / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.004552, allocations: 25.7 kB / 326.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.004574, allocations: 84.12 kB / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.004593, allocations: 0 / 326.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.004613, allocations: 13.72 kB / 326.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.004682, allocations: 322.8 kB / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.004688, allocations: 0 / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.004694, allocations: 8.25 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.566e-05/0.004709, allocations: 8.797 kB / 327 MB, free: 5.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.004711, allocations: 0 / 327 MB, free: 5.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.326e-05/0.004744, allocations: 33.7 kB / 327 MB, free: 5.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.004754, allocations: 4 kB / 327 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004757, allocations: 3.938 kB / 327 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.004765, allocations: 0 / 327 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.634e-05/0.004812, allocations: 3.984 kB / 327 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004814, allocations: 4 kB / 327 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.235e-06/0.004823, allocations: 3.938 kB / 327 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.004828, allocations: 4.094 kB / 327 MB, free: 5.711 MB / 298.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 4.523e-05/0.004874, allocations: 109.8 kB / 327.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.004879, allocations: 4 kB / 327.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.004954, allocations: 40.78 kB / 327.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.004956, allocations: 0 / 327.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.004958, allocations: 0 / 327.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.00496, allocations: 0 / 327.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.135e-05/0.005021, allocations: 69.88 kB / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.005026, allocations: 0 / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.005027, allocations: 0 / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005029, allocations: 0 / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.005032, allocations: 0 / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.005035, allocations: 7.984 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005035, allocations: 0 / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.019e-05/0.005086, allocations: 65 kB / 327.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005092, allocations: 4.625 kB / 327.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-06/0.005098, allocations: 0 / 327.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.005147, allocations: 8.016 kB / 327.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.005156, allocations: 4 kB / 327.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.005161, allocations: 4 kB / 327.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.208e-06/0.00517, allocations: 4.859 kB / 327.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00517, allocations: 0 / 327.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.005335, allocations: 39.94 kB / 327.4 MB, free: 5.305 MB / 298.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.0001957/0.005531, allocations: 128.3 kB / 327.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.665e-05/0.005577, allocations: 12.84 kB / 327.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.00558, allocations: 4.156 kB / 327.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.005602, allocations: 34.5 kB / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.508e-05/0.005667, allocations: 15.86 kB / 327.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.005839, allocations: 91.86 kB / 327.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.307e-05/0.005862, allocations: 55.36 kB / 327.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.352e-05/0.005876, allocations: 3.938 kB / 327.7 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.005912, allocations: 55.36 kB / 327.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005912, allocations: 0 / 327.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of Templates: time 0.002747/0.008659, allocations: 1.256 MB / 329 MB, free: 3.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.861163997091353]