Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001026/0.001026, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.001054/0.001054, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9018/0.9018, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.136/0.136, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.818e-05, allocations: 6.25 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001384/0.001413, allocations: 0.5881 MB / 349.5 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.001662, allocations: 107.5 kB / 349.6 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.001694, allocations: 8 kB / 349.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.00171, allocations: 3.938 kB / 349.6 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.001922, allocations: 35.81 kB / 349.7 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.001925, allocations: 0 / 349.7 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.001971, allocations: 19.92 kB / 349.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.00201, allocations: 7.938 kB / 349.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.002037, allocations: 11.98 kB / 349.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.002092, allocations: 11.92 kB / 349.7 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.002103, allocations: 3.984 kB / 349.7 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.002186, allocations: 47.89 kB / 349.8 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.002198, allocations: 11.94 kB / 349.8 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.002208, allocations: 7.984 kB / 349.8 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.00533, allocations: 47.81 kB / 349.8 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005333, allocations: 0 / 349.8 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005334, allocations: 0 / 349.8 MB, free: 8.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005338, allocations: 0 / 349.8 MB, free: 8.246 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.0001886/0.005527, allocations: 360.6 kB / 350.2 MB, free: 7.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.005559, allocations: 8.031 kB / 350.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.005588, allocations: 8.891 kB / 350.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.51e-05/0.005643, allocations: 116.5 kB / 350.3 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.005655, allocations: 12.38 kB / 350.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.005662, allocations: 384 / 350.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.98e-05/0.005732, allocations: 50.23 kB / 350.4 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005738, allocations: 192 / 350.4 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.005745, allocations: 384 / 350.4 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.00575, allocations: 4.375 kB / 350.4 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.891e-05/0.005808, allocations: 43.83 kB / 350.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.227e-05/0.005901, allocations: 113.2 kB / 350.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.005988, allocations: 67.03 kB / 350.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.006011, allocations: 19.67 kB / 350.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.006165, allocations: 35.97 kB / 350.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.006182, allocations: 37.61 kB / 350.7 MB, free: 7.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.006184, allocations: 3.984 kB / 350.7 MB, free: 7.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001409/0.006325, allocations: 85.86 kB / 350.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.006346, allocations: 55.39 kB / 350.8 MB, free: 7.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.607e-05/0.006382, allocations: 157.9 kB / 351 MB, free: 6.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.006389, allocations: 25.7 kB / 351 MB, free: 6.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.719e-05/0.006407, allocations: 126.9 kB / 351.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.006439, allocations: 35.81 kB / 351.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.00647, allocations: 35.36 kB / 351.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.006508, allocations: 0.4883 MB / 351.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.006524, allocations: 11.98 kB / 351.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.006539, allocations: 12.03 kB / 351.7 MB, free: 6.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.006583, allocations: 47.61 kB / 351.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006585, allocations: 0 / 351.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.816e-05/0.006663, allocations: 69.62 kB / 351.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.006674, allocations: 4 kB / 351.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.006678, allocations: 0 / 351.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.006687, allocations: 0 / 351.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.006769, allocations: 27.98 kB / 351.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.006771, allocations: 0 / 351.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.006789, allocations: 7.953 kB / 351.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.006795, allocations: 7.938 kB / 351.9 MB, free: 6 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 4.037e-05/0.006835, allocations: 156.6 kB / 352 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-06/0.006845, allocations: 4 kB / 352 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.006952, allocations: 85.58 kB / 352.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006955, allocations: 3.984 kB / 352.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006956, allocations: 0 / 352.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.00696, allocations: 0 / 352.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.862e-05/0.007028, allocations: 125.1 kB / 352.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007029, allocations: 0 / 352.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.007083, allocations: 23.92 kB / 352.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.007086, allocations: 0 / 352.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.007091, allocations: 0 / 352.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007092, allocations: 0 / 352.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007093, allocations: 0 / 352.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.804e-05/0.007171, allocations: 112.3 kB / 352.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.007178, allocations: 7.938 kB / 352.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.007186, allocations: 0 / 352.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.007199, allocations: 8 kB / 352.4 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.007213, allocations: 7.984 kB / 352.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.007218, allocations: 7.938 kB / 352.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.463e-05/0.007232, allocations: 119.2 kB / 352.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007233, allocations: 0 / 352.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.007418, allocations: 16 kB / 352.6 MB, free: 5.273 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.84e-05/0.007516, allocations: 107.2 kB / 352.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.007596, allocations: 51.59 kB / 352.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.007597, allocations: 0 / 352.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.007619, allocations: 32.27 kB / 352.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.00775, allocations: 12.03 kB / 352.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.007966, allocations: 142.4 kB / 352.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.786e-05/0.007984, allocations: 55.36 kB / 352.9 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.954e-05/0.008014, allocations: 11.98 kB / 353 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003043/0.01106, allocations: 74.2 kB / 353 MB, free: 4.73 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01106, allocations: 0 / 353 MB, free: 4.73 MB / 282.7 MB Notification: Performance of Templates: time 0.002319/0.01338, allocations: 0.7321 MB / 353.8 MB, free: 4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.965898926835507]