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.001596/0.001596, allocations: 92.2 kB / 20.21 MB, free: 4.199 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.001668/0.001668, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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 1.395/1.395, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2126/0.2126, allocations: 32.37 MB / 270 MB, free: 14.78 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.733e-06/1.733e-06, allocations: 0 / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.714e-05, allocations: 2.312 kB / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001411/0.001438, allocations: 0.574 MB / 347.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.001734, allocations: 111.5 kB / 347.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.001764, allocations: 0 / 347.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.001776, allocations: 4 kB / 347.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.002023, allocations: 43.69 kB / 347.7 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.002027, allocations: 0 / 347.7 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.149e-05/0.002089, allocations: 19.92 kB / 347.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.002122, allocations: 4 kB / 347.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.002149, allocations: 15.92 kB / 347.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.002202, allocations: 7.984 kB / 347.7 MB, free: 9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.002213, allocations: 0 / 347.7 MB, free: 9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-05/0.002307, allocations: 55.88 kB / 347.8 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.002319, allocations: 7.938 kB / 347.8 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.002339, allocations: 11.92 kB / 347.8 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.002449, allocations: 47.81 kB / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002451, allocations: 0 / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002452, allocations: 0 / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.002455, allocations: 0 / 347.9 MB, free: 8.879 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.0002187/0.002674, allocations: 258.3 kB / 348.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.002707, allocations: 8.031 kB / 348.1 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.002755, allocations: 12.89 kB / 348.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.269e-05/0.002817, allocations: 109.8 kB / 348.2 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.00283, allocations: 8.359 kB / 348.2 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.002841, allocations: 4.375 kB / 348.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.002956, allocations: 62.19 kB / 348.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.002965, allocations: 4.188 kB / 348.3 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.002975, allocations: 4.312 kB / 348.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.002979, allocations: 384 / 348.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/0.003072, allocations: 55.89 kB / 348.4 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.003188, allocations: 117.3 kB / 348.5 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.003311, allocations: 70.59 kB / 348.6 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.003353, allocations: 28.84 kB / 348.6 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.003579, allocations: 27.97 kB / 348.6 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.003597, allocations: 30.56 kB / 348.6 MB, free: 7.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.003598, allocations: 0 / 348.6 MB, free: 7.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002169/0.003815, allocations: 113.8 kB / 348.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.003835, allocations: 51.41 kB / 348.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.417e-05/0.003879, allocations: 97.8 kB / 348.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.003886, allocations: 25.7 kB / 348.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-06/0.003896, allocations: 80.14 kB / 349 MB, free: 7.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.003939, allocations: 43.81 kB / 349 MB, free: 7.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.00397, allocations: 21.72 kB / 349.1 MB, free: 7.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.004007, allocations: 310.8 kB / 349.4 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.004038, allocations: 23.98 kB / 349.4 MB, free: 7.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.004064, allocations: 20.3 kB / 349.4 MB, free: 7.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.444e-05/0.004128, allocations: 52.98 kB / 349.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00413, allocations: 0 / 349.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001052/0.004235, allocations: 85.62 kB / 349.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.004247, allocations: 4 kB / 349.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004252, allocations: 0 / 349.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.00427, allocations: 0 / 349.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.004373, allocations: 27.98 kB / 349.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.004378, allocations: 0 / 349.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.004403, allocations: 11.83 kB / 349.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.00441, allocations: 4 kB / 349.6 MB, free: 6.965 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.649e-05/0.004457, allocations: 113.8 kB / 349.7 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.004472, allocations: 4 kB / 349.7 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.004626, allocations: 105.6 kB / 349.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.004628, allocations: 0 / 349.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.004632, allocations: 0 / 349.8 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.004636, allocations: 3.938 kB / 349.8 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.244e-05/0.004698, allocations: 129.2 kB / 349.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004699, allocations: 0 / 349.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.004764, allocations: 15.98 kB / 350 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.004766, allocations: 4 kB / 350 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.004774, allocations: 4 kB / 350 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.004775, allocations: 0 / 350 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.004776, allocations: 0 / 350 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.0049, allocations: 117 kB / 350.1 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.004907, allocations: 11.89 kB / 350.1 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.004918, allocations: 0 / 350.1 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.004945, allocations: 4 kB / 350.1 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.004962, allocations: 11.98 kB / 350.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.004966, allocations: 4 kB / 350.1 MB, free: 6.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.475e-05/0.004981, allocations: 75.28 kB / 350.2 MB, free: 6.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004981, allocations: 0 / 350.2 MB, free: 6.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.005189, allocations: 19.94 kB / 350.2 MB, free: 6.293 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 0.00011/0.005299, allocations: 111.1 kB / 350.3 MB, free: 6.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.005412, allocations: 47.98 kB / 350.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.005413, allocations: 0 / 350.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.005446, allocations: 32.02 kB / 350.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.005595, allocations: 8 kB / 350.4 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.005894, allocations: 136.6 kB / 350.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.005925, allocations: 79.17 kB / 350.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.067e-05/0.005956, allocations: 4 kB / 350.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.005984, allocations: 12.5 kB / 350.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005985, allocations: 0 / 350.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of Templates: time 0.003042/0.009027, allocations: 0.6525 MB / 351.3 MB, free: 5.172 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.557021914049983]