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.001388/0.001388, allocations: 85.83 kB / 20.68 MB, free: 1.035 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.001539/0.001539, allocations: 165.4 kB / 23.95 MB, free: 4.168 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.464/1.464, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.2132/0.2132, allocations: 34.27 MB / 294.9 MB, free: 14.59 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 1.373e-06/1.373e-06, allocations: 0 / 442.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.639e-05, allocations: 6.219 kB / 442.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00164/0.001666, allocations: 0.5361 MB / 443.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004146/0.002081, allocations: 151.5 kB / 443.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.002109, allocations: 3.938 kB / 443.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.002125, allocations: 0 / 443.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.00235, allocations: 31.78 kB / 443.4 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.002353, allocations: 0 / 443.4 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.002415, allocations: 31.89 kB / 443.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.002463, allocations: 4 kB / 443.4 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.002494, allocations: 11.94 kB / 443.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.002537, allocations: 11.92 kB / 443.4 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.002548, allocations: 0 / 443.4 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.002675, allocations: 47.94 kB / 443.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.002689, allocations: 7.922 kB / 443.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.002704, allocations: 8 kB / 443.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.00284, allocations: 47.8 kB / 443.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.002843, allocations: 0 / 443.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002843, allocations: 0 / 443.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.002846, allocations: 4 kB / 443.5 MB, free: 4.547 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.000328/0.003174, allocations: 266.2 kB / 443.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.003214, allocations: 12.03 kB / 443.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.003248, allocations: 0.9375 kB / 443.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.003363, allocations: 113.7 kB / 443.9 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.003375, allocations: 384 / 443.9 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.003389, allocations: 8.375 kB / 443.9 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.003525, allocations: 54.23 kB / 444 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.003535, allocations: 4.188 kB / 444 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003544, allocations: 384 / 444 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003549, allocations: 4.375 kB / 444 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.003664, allocations: 63.77 kB / 444.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.003835, allocations: 113.3 kB / 444.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.003985, allocations: 70.55 kB / 444.2 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.00404, allocations: 28.84 kB / 444.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.004274, allocations: 19.98 kB / 444.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.004318, allocations: 42.83 kB / 444.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.004319, allocations: 0 / 444.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002524/0.004571, allocations: 97.62 kB / 444.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.004616, allocations: 59.34 kB / 444.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.004699, allocations: 101.8 kB / 444.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.004718, allocations: 25.7 kB / 444.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.004755, allocations: 80.14 kB / 444.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.004799, allocations: 35.7 kB / 444.7 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.004845, allocations: 25.7 kB / 444.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.004986, allocations: 314.8 kB / 445 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.005026, allocations: 23.98 kB / 445.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.005059, allocations: 12 kB / 445.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.681e-05/0.005156, allocations: 57.47 kB / 445.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005158, allocations: 4 kB / 445.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/0.005305, allocations: 81.62 kB / 445.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.005319, allocations: 4 kB / 445.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.005323, allocations: 4 kB / 445.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.005336, allocations: 0 / 445.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.005448, allocations: 19.92 kB / 445.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.005452, allocations: 0 / 445.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.005488, allocations: 15.89 kB / 445.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.005494, allocations: 0 / 445.3 MB, free: 2.645 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 9.042e-05/0.005585, allocations: 114.5 kB / 445.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.005596, allocations: 4 kB / 445.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.005814, allocations: 113.5 kB / 445.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.005817, allocations: 0 / 445.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.005825, allocations: 3.984 kB / 445.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.005831, allocations: 3.938 kB / 445.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.005953, allocations: 121.3 kB / 445.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005954, allocations: 0 / 445.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.006027, allocations: 15.98 kB / 445.6 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00603, allocations: 0 / 445.6 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.006041, allocations: 8 kB / 445.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006043, allocations: 4 kB / 445.6 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.006046, allocations: 3.938 kB / 445.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.006207, allocations: 109.1 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.006219, allocations: 11.94 kB / 445.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.006232, allocations: 0 / 445.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.774e-05/0.00626, allocations: 4.281 kB / 445.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.006283, allocations: 11.92 kB / 445.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.006288, allocations: 0 / 445.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.00633, allocations: 83.22 kB / 445.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.006331, allocations: 0 / 445.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.006556, allocations: 23.97 kB / 445.9 MB, free: 1.953 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.0001456/0.006701, allocations: 103.2 kB / 446 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.006852, allocations: 55.91 kB / 446 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.006856, allocations: 4 kB / 446 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.006905, allocations: 27.92 kB / 446.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.007046, allocations: 4 kB / 446.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.007394, allocations: 136.8 kB / 446.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.064e-05/0.007455, allocations: 63.34 kB / 446.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.007492, allocations: 11.98 kB / 446.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.007522, allocations: 12.5 kB / 446.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.007524, allocations: 0 / 446.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of Templates: time 0.003533/0.01106, allocations: 0.6338 MB / 446.9 MB, free: 0.8555 MB / 366.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.83864913135767]