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.001889/0.001889, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002253/0.002253, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2336/0.2336, allocations: 46.96 MB / 360.9 MB, free: 4.102 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.002462/0.002462, allocations: 75.88 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3085, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001501/0.31, allocations: 0.5109 MB / 0.5616 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004229/0.3104, allocations: 159.5 kB / 0.5617 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.3104, allocations: 0 / 0.5617 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.3104, allocations: 0 / 0.5617 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.3107, allocations: 39.75 kB / 0.5618 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.3107, allocations: 0 / 0.5618 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.566e-05/0.3107, allocations: 23.92 kB / 0.5618 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.3108, allocations: 4 kB / 0.5618 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.3108, allocations: 15.88 kB / 0.5618 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.3109, allocations: 11.92 kB / 0.5618 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3109, allocations: 7.984 kB / 0.5618 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.311, allocations: 43.95 kB / 0.5619 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.311, allocations: 7.984 kB / 0.5619 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.311, allocations: 11.88 kB / 0.5619 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.3111, allocations: 43.53 kB / 0.5619 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3111, allocations: 0 / 0.5619 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3111, allocations: 0 / 0.5619 GB, free: 3.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3112, allocations: 0 / 0.5619 GB, free: 3.285 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.0003297/0.3115, allocations: 268.9 kB / 0.5622 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3115, allocations: 8.031 kB / 0.5622 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.3115, allocations: 4.938 kB / 0.5622 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3117, allocations: 110.5 kB / 0.5623 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3117, allocations: 4.375 kB / 0.5623 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3117, allocations: 8.375 kB / 0.5623 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3118, allocations: 58.12 kB / 0.5624 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3118, allocations: 192 / 0.5624 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3118, allocations: 7.938 kB / 0.5624 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3119, allocations: 0 / 0.5624 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.312, allocations: 51.95 kB / 0.5624 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.3121, allocations: 121.2 kB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.3123, allocations: 70.59 kB / 0.5626 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3123, allocations: 32.84 kB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.3126, allocations: 23.97 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3126, allocations: 38.55 kB / 0.5627 GB, free: 2.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3126, allocations: 0 / 0.5627 GB, free: 2.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002353/0.3128, allocations: 109.7 kB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.3129, allocations: 51.41 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.3129, allocations: 93.86 kB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.313, allocations: 25.7 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.313, allocations: 84.27 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.313, allocations: 35.69 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3131, allocations: 25.72 kB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3132, allocations: 310.8 kB / 0.5634 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.3133, allocations: 23.98 kB / 0.5634 GB, free: 1.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.3133, allocations: 19.92 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.858e-05/0.3134, allocations: 53.36 kB / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3134, allocations: 0 / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.3135, allocations: 85.58 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3135, allocations: 4 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3135, allocations: 0 / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3136, allocations: 11.94 kB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.3137, allocations: 15.98 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3137, allocations: 0 / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.3137, allocations: 11.94 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3137, allocations: 0 / 0.5636 GB, free: 1.379 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.558e-05/0.3138, allocations: 117.8 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.3138, allocations: 3.953 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.314, allocations: 97.56 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.314, allocations: 7.875 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.314, allocations: 0 / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.314, allocations: 4 kB / 0.5638 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.3141, allocations: 121.3 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3141, allocations: 0 / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.3142, allocations: 15.98 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3142, allocations: 3.938 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3142, allocations: 4 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3142, allocations: 0 / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3142, allocations: 3.938 kB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.3144, allocations: 121.1 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.3144, allocations: 3.938 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3144, allocations: 8 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.3144, allocations: 4 kB / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.3144, allocations: 11.92 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.3144, allocations: 0 / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.084e-05/0.3145, allocations: 75.28 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3145, allocations: 4 kB / 0.5642 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.3147, allocations: 12 kB / 0.5642 GB, free: 0.7031 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.0001264/0.3148, allocations: 111.1 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.315, allocations: 47.98 kB / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.315, allocations: 4.094 kB / 0.5644 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.315, allocations: 31.92 kB / 0.5644 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.3151, allocations: 4 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3155, allocations: 136.9 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.3155, allocations: 71.28 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.3156, allocations: 7.781 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.3156, allocations: 11.44 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3156, allocations: 4 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of Templates: time 0.003006/0.3186, allocations: 0.6365 MB / 0.5652 GB, free: 15.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/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: 4.93855519965291]