Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001232/0.001232, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002069/0.003301, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001178/0.001178, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002673, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9798/0.9798, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09165/1.071, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.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.2635/0.2635, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02059/0.284, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.259e-05, allocations: 4.672 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001271/0.001294, allocations: 0.5798 MB / 291.2 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.001493, allocations: 157.7 kB / 291.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.001512, allocations: 4 kB / 291.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5e-06/0.001517, allocations: 1.562 kB / 291.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.652e-05/0.001614, allocations: 41.39 kB / 291.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.855e-06/0.001617, allocations: 0 / 291.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.001661, allocations: 17.62 kB / 291.4 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.001696, allocations: 7.047 kB / 291.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.001736, allocations: 13.36 kB / 291.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.001792, allocations: 15.39 kB / 291.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.001803, allocations: 1.438 kB / 291.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.001907, allocations: 54.47 kB / 291.5 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.001914, allocations: 6.438 kB / 291.5 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.116e-05/0.001925, allocations: 7.281 kB / 291.5 MB, free: 7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002027, allocations: 42.89 kB / 291.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.002039, allocations: 0 / 291.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00204, allocations: 1.438 kB / 291.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.002051, allocations: 0 / 291.5 MB, free: 6.977 MB / 282.7 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.0002334/0.002284, allocations: 242.6 kB / 291.8 MB, free: 6.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.002314, allocations: 9.312 kB / 291.8 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.002342, allocations: 4.719 kB / 291.8 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.95e-05/0.002411, allocations: 116 kB / 291.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.00242, allocations: 7.094 kB / 291.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.002429, allocations: 6.5 kB / 291.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.985e-05/0.002519, allocations: 54.55 kB / 292 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.002525, allocations: 192 / 292 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.002531, allocations: 384 / 292 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.002536, allocations: 1.719 kB / 292 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.00259, allocations: 30 kB / 292 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.799e-05/0.002678, allocations: 75.95 kB / 292.1 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.002771, allocations: 69.38 kB / 292.1 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.002793, allocations: 15.05 kB / 292.2 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.002958, allocations: 24.42 kB / 292.2 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.00298, allocations: 41.11 kB / 292.2 MB, free: 6.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.002981, allocations: 0 / 292.2 MB, free: 6.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001117/0.003093, allocations: 65.78 kB / 292.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.003122, allocations: 54.09 kB / 292.3 MB, free: 6.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.003167, allocations: 100 kB / 292.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.003176, allocations: 25.7 kB / 292.5 MB, free: 6.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.819e-05/0.003194, allocations: 81.48 kB / 292.5 MB, free: 6.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.003229, allocations: 39.72 kB / 292.6 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.003257, allocations: 23.73 kB / 292.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.003327, allocations: 320.4 kB / 292.9 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.003339, allocations: 7.625 kB / 292.9 MB, free: 5.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.003354, allocations: 16.52 kB / 292.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.003396, allocations: 29.72 kB / 293 MB, free: 5.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.003398, allocations: 0 / 293 MB, free: 5.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.054e-05/0.003459, allocations: 67.55 kB / 293 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003471, allocations: 6.906 kB / 293 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.003475, allocations: 0 / 293 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.003483, allocations: 3.938 kB / 293 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.003562, allocations: 18.84 kB / 293.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.003566, allocations: 0.75 kB / 293.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.003579, allocations: 1.156 kB / 293.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.003586, allocations: 6.203 kB / 293.1 MB, free: 5.559 MB / 282.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 (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 6.271e-05/0.003648, allocations: 115 kB / 293.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.003655, allocations: 4.031 kB / 293.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.003761, allocations: 81.91 kB / 293.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.003763, allocations: 0 / 293.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.003765, allocations: 2 kB / 293.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.00377, allocations: 7.984 kB / 293.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.672e-05/0.003837, allocations: 93.94 kB / 293.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.003838, allocations: 0 / 293.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.003884, allocations: 21.92 kB / 293.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.003889, allocations: 2.656 kB / 293.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.003892, allocations: 2.875 kB / 293.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.003896, allocations: 0 / 293.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.003897, allocations: 0 / 293.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.003898, allocations: 0 / 293.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.679e-05/0.003964, allocations: 97.19 kB / 293.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.003973, allocations: 0 / 293.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.003983, allocations: 5.5 kB / 293.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.003996, allocations: 10.08 kB / 293.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.004, allocations: 1.375 kB / 293.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.145e-06/0.004008, allocations: 5.578 kB / 293.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004008, allocations: 0.5 kB / 293.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001123/0.004121, allocations: 16.88 kB / 293.5 MB, free: 5.152 MB / 282.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 (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 9.878e-05/0.004219, allocations: 92.44 kB / 293.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.875e-05/0.004288, allocations: 40.78 kB / 293.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.004293, allocations: 0 / 293.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.004312, allocations: 36.88 kB / 293.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.329e-05/0.004375, allocations: 12.2 kB / 293.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.004606, allocations: 145 kB / 293.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.004632, allocations: 59.3 kB / 293.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.829e-05/0.00466, allocations: 7.984 kB / 293.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.004694, allocations: 55.38 kB / 294 MB, free: 4.672 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.004694, allocations: 0 / 294 MB, free: 4.672 MB / 282.7 MB Notification: Performance of Templates: time 0.002103/0.006798, allocations: 0.7216 MB / 294.7 MB, free: 3.953 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.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.8688229816034436]