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.001313/0.001313, allocations: 84.31 kB / 20.68 MB, free: 1.023 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.001731/0.001731, allocations: 164 kB / 23.95 MB, free: 4.156 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.376/1.376, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.1879/0.1879, allocations: 32.82 MB / 293.5 MB, free: 28 kB / 270.1 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.693e-06/1.693e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.292e-05, allocations: 5.375 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001635/0.001668, allocations: 0.5129 MB / 440.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004707/0.002138, allocations: 151.4 kB / 440.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.002175, allocations: 0 / 440.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.002191, allocations: 3.938 kB / 440.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.002463, allocations: 35.83 kB / 440.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.002467, allocations: 0 / 440.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.002537, allocations: 27.86 kB / 440.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.002606, allocations: 0 / 440.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.002651, allocations: 15.92 kB / 440.8 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.002717, allocations: 11.97 kB / 440.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.002729, allocations: 0 / 440.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.002846, allocations: 47.95 kB / 440.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.002863, allocations: 11.88 kB / 440.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.002879, allocations: 3.984 kB / 440.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.003012, allocations: 47.81 kB / 440.9 MB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.003015, allocations: 4 kB / 441 MB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003016, allocations: 0 / 441 MB, free: 7.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.00302, allocations: 4 kB / 441 MB, free: 7.285 MB / 366.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.0003683/0.003388, allocations: 258.2 kB / 441.2 MB, free: 7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.003426, allocations: 12.03 kB / 441.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.003461, allocations: 0.9375 kB / 441.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.003583, allocations: 113.7 kB / 441.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.003597, allocations: 4.375 kB / 441.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.00361, allocations: 4.375 kB / 441.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.003768, allocations: 62.12 kB / 441.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.003778, allocations: 4.188 kB / 441.4 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.003794, allocations: 4.375 kB / 441.4 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.003801, allocations: 4.359 kB / 441.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.003924, allocations: 55.88 kB / 441.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.004113, allocations: 117.3 kB / 441.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.004285, allocations: 78.58 kB / 441.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.004339, allocations: 24.86 kB / 441.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.004585, allocations: 27.91 kB / 441.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.004619, allocations: 38.56 kB / 441.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.00462, allocations: 0 / 441.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002507/0.004871, allocations: 101.8 kB / 441.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.004915, allocations: 55.41 kB / 441.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.004989, allocations: 93.8 kB / 442 MB, free: 6.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.005016, allocations: 29.7 kB / 442 MB, free: 6.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.005053, allocations: 80.14 kB / 442.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.005099, allocations: 39.67 kB / 442.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.005142, allocations: 21.72 kB / 442.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.005296, allocations: 318.8 kB / 442.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.005331, allocations: 20.11 kB / 442.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.005369, allocations: 24.3 kB / 442.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.073e-05/0.00546, allocations: 48.98 kB / 442.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005461, allocations: 0 / 442.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001425/0.005604, allocations: 81.62 kB / 442.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.005618, allocations: 8 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005622, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.005636, allocations: 3.984 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.005739, allocations: 16 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.005753, allocations: 4 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.005781, allocations: 7.891 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.005787, allocations: 4 kB / 442.7 MB, free: 5.379 MB / 366.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.456e-05/0.005872, allocations: 118.4 kB / 442.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.005884, allocations: 4 kB / 442.8 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.006094, allocations: 101.6 kB / 442.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006096, allocations: 0 / 442.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006099, allocations: 4 kB / 442.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.006104, allocations: 3.938 kB / 442.9 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.006213, allocations: 109.3 kB / 443 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006214, allocations: 3.938 kB / 443 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.006289, allocations: 19.98 kB / 443 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.006291, allocations: 4 kB / 443 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.006301, allocations: 4 kB / 443.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.006304, allocations: 3.984 kB / 443.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.006307, allocations: 4 kB / 443.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.006478, allocations: 125 kB / 443.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.00649, allocations: 11.95 kB / 443.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.006504, allocations: 4 kB / 443.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.006529, allocations: 0 / 443.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.006549, allocations: 7.984 kB / 443.2 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.006556, allocations: 4 kB / 443.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.006595, allocations: 79.28 kB / 443.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006595, allocations: 0 / 443.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.006817, allocations: 23.88 kB / 443.3 MB, free: 4.688 MB / 366.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.0001519/0.006969, allocations: 107.2 kB / 443.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.007109, allocations: 51.92 kB / 443.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00711, allocations: 0 / 443.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.007156, allocations: 27.92 kB / 443.5 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.007302, allocations: 8 kB / 443.5 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.007649, allocations: 140.9 kB / 443.6 MB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.855e-05/0.007708, allocations: 63.34 kB / 443.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.007736, allocations: 4 kB / 443.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.007762, allocations: 12.5 kB / 443.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.007762, allocations: 4 kB / 443.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of Templates: time 0.003087/0.01085, allocations: 0.6322 MB / 444.4 MB, free: 3.594 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.468274995684624]