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.001361/0.001361, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001532/0.001532, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2307/0.2307, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.002121/0.002121, allocations: 75.83 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2945, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001593/0.2961, allocations: 0.5188 MB / 0.5616 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004243/0.2966, allocations: 147.5 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.2966, allocations: 0 / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2966, allocations: 3.938 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.2968, allocations: 39.83 kB / 0.5618 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.2968, allocations: 3.938 kB / 0.5618 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.2969, allocations: 19.92 kB / 0.5618 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2969, allocations: 7.984 kB / 0.5618 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.2969, allocations: 11.94 kB / 0.5618 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.297, allocations: 15.92 kB / 0.5618 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.297, allocations: 4 kB / 0.5618 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.2971, allocations: 43.95 kB / 0.5619 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.2971, allocations: 15.91 kB / 0.5619 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.2972, allocations: 3.938 kB / 0.5619 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2973, allocations: 43.53 kB / 0.5619 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2973, allocations: 0 / 0.5619 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2973, allocations: 0 / 0.5619 GB, free: 3.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2973, allocations: 0 / 0.5619 GB, free: 3.301 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.0003071/0.2976, allocations: 272.8 kB / 0.5622 GB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2976, allocations: 16.03 kB / 0.5622 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.2976, allocations: 0.9375 kB / 0.5622 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2978, allocations: 110.5 kB / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.2978, allocations: 384 / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2978, allocations: 12.31 kB / 0.5623 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2979, allocations: 58.23 kB / 0.5624 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2979, allocations: 192 / 0.5624 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2979, allocations: 7.922 kB / 0.5624 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.2979, allocations: 0 / 0.5624 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.2981, allocations: 51.95 kB / 0.5624 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.2982, allocations: 125.2 kB / 0.5625 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.2984, allocations: 70.55 kB / 0.5626 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.2984, allocations: 28.84 kB / 0.5626 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.2987, allocations: 19.98 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2987, allocations: 38.55 kB / 0.5627 GB, free: 2.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.2987, allocations: 0 / 0.5627 GB, free: 2.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000242/0.2989, allocations: 101.8 kB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.299, allocations: 55.41 kB / 0.5628 GB, free: 2.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.2991, allocations: 101.8 kB / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2991, allocations: 25.7 kB / 0.563 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.2991, allocations: 84.14 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.2991, allocations: 31.7 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.2992, allocations: 25.7 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2993, allocations: 319.2 kB / 0.5634 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.2994, allocations: 15.98 kB / 0.5634 GB, free: 1.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.2994, allocations: 19.94 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.2995, allocations: 48.84 kB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2995, allocations: 0 / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.2996, allocations: 85.7 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2997, allocations: 12 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2997, allocations: 0 / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2997, allocations: 3.938 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.2998, allocations: 19.92 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2998, allocations: 4 kB / 0.5636 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.2998, allocations: 7.938 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2998, allocations: 4 kB / 0.5636 GB, free: 1.387 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.547e-05/0.2999, allocations: 113.8 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.2999, allocations: 7.953 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.3001, allocations: 101.5 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3002, allocations: 11.88 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3002, allocations: 0 / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3002, allocations: 0 / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.3003, allocations: 113.7 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3003, allocations: 0 / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.3004, allocations: 19.98 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3004, allocations: 0 / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3004, allocations: 7.938 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3004, allocations: 0 / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3004, allocations: 3.938 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3005, allocations: 117 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.3005, allocations: 7.938 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3006, allocations: 4 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.619e-05/0.3006, allocations: 0 / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.3006, allocations: 15.86 kB / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3006, allocations: 4 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.3007, allocations: 75.28 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3007, allocations: 0 / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3009, allocations: 16 kB / 0.5642 GB, free: 0.7109 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.0001311/0.301, allocations: 111.3 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3012, allocations: 47.91 kB / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3012, allocations: 4 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.3012, allocations: 31.92 kB / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3014, allocations: 0 / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.3017, allocations: 140.9 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.668e-05/0.3017, allocations: 63.34 kB / 0.5646 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.3018, allocations: 11.78 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3018, allocations: 11.44 kB / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3018, allocations: 480 / 0.5646 GB, free: 248 kB / 398.1 MB Notification: Performance of Templates: time 0.003055/0.3049, allocations: 0.6776 MB / 0.5653 GB, free: 15.58 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.831105768214911]