Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001914/0.001914, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002372/0.002372, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3264/0.3264, allocations: 34.24 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.937e-05, allocations: 8.5 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001832/0.001862, allocations: 0.5245 MB / 377.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004194/0.002281, allocations: 143.5 kB / 377.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.002307, allocations: 0 / 377.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.002319, allocations: 0 / 377.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.002571, allocations: 43.72 kB / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.828e-06/0.002575, allocations: 4 kB / 377.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.002636, allocations: 19.92 kB / 377.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.00267, allocations: 3.984 kB / 377.9 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.0027, allocations: 7.938 kB / 377.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.002776, allocations: 19.91 kB / 378 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.00279, allocations: 4 kB / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.002907, allocations: 43.95 kB / 378 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.00292, allocations: 3.984 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.002943, allocations: 7.938 kB / 378 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.003067, allocations: 43.86 kB / 378.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003069, allocations: 8 kB / 378.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.003069, allocations: 0 / 378.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003073, allocations: 0 / 378.1 MB, free: 2.051 MB / 346.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.0003579/0.003431, allocations: 270.2 kB / 378.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.003469, allocations: 8.031 kB / 378.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.003519, allocations: 12.83 kB / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.003639, allocations: 105.8 kB / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.003667, allocations: 4.375 kB / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.003679, allocations: 4.375 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.003817, allocations: 54.23 kB / 378.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.003831, allocations: 8.188 kB / 378.5 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.00384, allocations: 384 / 378.5 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003844, allocations: 384 / 378.5 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.003963, allocations: 59.83 kB / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.004144, allocations: 109.3 kB / 378.7 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.00431, allocations: 70.55 kB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.004369, allocations: 29.12 kB / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.004638, allocations: 27.92 kB / 378.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.004677, allocations: 38.56 kB / 378.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.004678, allocations: 0 / 378.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002797/0.004957, allocations: 109.8 kB / 379 MB, free: 1.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.005006, allocations: 51.41 kB / 379 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.005098, allocations: 101.8 kB / 379.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.005119, allocations: 29.7 kB / 379.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.005164, allocations: 80.14 kB / 379.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.005214, allocations: 35.69 kB / 379.3 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.005261, allocations: 21.7 kB / 379.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.005435, allocations: 318.8 kB / 379.6 MB, free: 376 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.005477, allocations: 20.11 kB / 379.6 MB, free: 356 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.005515, allocations: 24.03 kB / 379.6 MB, free: 332 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.005625, allocations: 56.78 kB / 379.7 MB, free: 272 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005627, allocations: 0 / 379.7 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001531/0.00578, allocations: 85.62 kB / 379.8 MB, free: 180 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.005796, allocations: 8 kB / 379.8 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005801, allocations: 0 / 379.8 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.005817, allocations: 3.938 kB / 379.8 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.005922, allocations: 15.98 kB / 379.8 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005928, allocations: 0 / 379.8 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.005964, allocations: 15.83 kB / 379.8 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.005973, allocations: 8 kB / 379.8 MB, free: 128 kB / 346.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 9.479e-05/0.006068, allocations: 109.8 kB / 379.9 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.006086, allocations: 8 kB / 379.9 MB, free: 0 / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.006315, allocations: 97.62 kB / 380 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006317, allocations: 4 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.006321, allocations: 0 / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.006328, allocations: 7.922 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.006466, allocations: 113.3 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006467, allocations: 4 kB / 380.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.006544, allocations: 15.94 kB / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.006549, allocations: 7.984 kB / 380.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.006558, allocations: 4 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006559, allocations: 0 / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.00656, allocations: 4 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.00674, allocations: 109 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.006756, allocations: 11.89 kB / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.006773, allocations: 7.984 kB / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.006799, allocations: 3.938 kB / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.006819, allocations: 4 kB / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.006826, allocations: 3.984 kB / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.006877, allocations: 83.28 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006877, allocations: 0 / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.0071, allocations: 19.94 kB / 380.4 MB, free: 15.46 MB / 362.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 0.0001652/0.007265, allocations: 111.2 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.007419, allocations: 51.91 kB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007421, allocations: 0 / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.007471, allocations: 32.59 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.007622, allocations: 3.984 kB / 380.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.007985, allocations: 148.6 kB / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.719e-05/0.008052, allocations: 67.28 kB / 380.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.008091, allocations: 7.984 kB / 380.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.008124, allocations: 12.5 kB / 380.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008125, allocations: 0 / 380.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Templates: time 0.003238/0.01136, allocations: 0.6474 MB / 381.5 MB, free: 14.33 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.730588865932077]