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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009224/0.0009225, allocations: 98.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.0002579, allocations: 8 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 63.46 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006568/0.1403, allocations: 254.7 kB / 481.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003741/0.1407, allocations: 150.2 kB / 481.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1407, allocations: 0 / 481.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.1407, allocations: 0 / 481.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1409, allocations: 35.89 kB / 481.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.141, allocations: 0 / 481.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.38e-05/0.141, allocations: 4 kB / 481.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.1411, allocations: 0 / 481.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.1411, allocations: 19.91 kB / 481.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1412, allocations: 11.92 kB / 481.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1412, allocations: 0 / 481.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1413, allocations: 51.89 kB / 481.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.1413, allocations: 7.969 kB / 481.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.1413, allocations: 29.64 kB / 481.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.03e-05/0.1414, allocations: 27.97 kB / 482 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1414, allocations: 4 kB / 482 MB, free: 4.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1414, allocations: 0 / 482 MB, free: 4.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1415, allocations: 0 / 482 MB, free: 4.828 MB / 350.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.0003258/0.1418, allocations: 327.7 kB / 482.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1418, allocations: 12.03 kB / 482.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.1419, allocations: 3.906 kB / 482.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.142, allocations: 175 kB / 482.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.142, allocations: 4 kB / 482.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.142, allocations: 4 kB / 482.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1422, allocations: 61.61 kB / 482.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1422, allocations: 3.984 kB / 482.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1422, allocations: 4 kB / 482.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1422, allocations: 4 kB / 482.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1423, allocations: 47.95 kB / 482.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.1425, allocations: 173.6 kB / 482.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1427, allocations: 82.58 kB / 482.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003607/0.143, allocations: 259.3 kB / 483.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1431, allocations: 30.56 kB / 483.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1431, allocations: 3.938 kB / 483.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002317/0.1433, allocations: 105.7 kB / 483.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1434, allocations: 55.41 kB / 483.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.1434, allocations: 97.8 kB / 483.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1435, allocations: 25.83 kB / 483.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.1435, allocations: 84.14 kB / 483.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1435, allocations: 31.55 kB / 483.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1435, allocations: 0 / 483.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1437, allocations: 318.8 kB / 483.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.1437, allocations: 15.98 kB / 483.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.1437, allocations: 16 kB / 483.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.1438, allocations: 27.88 kB / 483.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1438, allocations: 0 / 483.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.1439, allocations: 81.69 kB / 484 MB, free: 2.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1439, allocations: 8 kB / 484 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.144, allocations: 0 / 484 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.144, allocations: 0.6562 kB / 484 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.1441, allocations: 23.94 kB / 484 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1441, allocations: 3.984 kB / 484 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.1441, allocations: 7.844 kB / 484 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1441, allocations: 4 kB / 484 MB, free: 2.5 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.861e-05/0.1442, allocations: 113.8 kB / 484.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.1442, allocations: 8 kB / 484.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.1444, allocations: 101.5 kB / 484.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1444, allocations: 0 / 484.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1444, allocations: 0 / 484.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1445, allocations: 4 kB / 484.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1446, allocations: 173.5 kB / 484.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1446, allocations: 3.953 kB / 484.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.1447, allocations: 19.94 kB / 484.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1447, allocations: 0 / 484.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1447, allocations: 3.984 kB / 484.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1447, allocations: 4 kB / 484.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1447, allocations: 0 / 484.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1448, allocations: 109.1 kB / 484.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.1449, allocations: 84.97 kB / 484.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1449, allocations: 7.984 kB / 484.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.1449, allocations: 4 kB / 484.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.145, allocations: 8 kB / 484.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.145, allocations: 3.938 kB / 484.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.865e-05/0.145, allocations: 83.28 kB / 484.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.145, allocations: 0 / 484.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.1452, allocations: 19.98 kB / 484.8 MB, free: 1.66 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000127/0.1453, allocations: 103.7 kB / 484.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1455, allocations: 51.92 kB / 484.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1455, allocations: 384 / 484.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.1455, allocations: 39.86 kB / 485 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.762e-05/0.1456, allocations: 8.094 kB / 485 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.1459, allocations: 138.7 kB / 485.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1462, allocations: 0.6887 MB / 485.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.313e-05/0.1463, allocations: 4 kB / 485.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.1463, allocations: 15.44 kB / 485.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1463, allocations: 0 / 485.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Templates: time 0.002428/0.1487, allocations: 0.6008 MB / 486.4 MB, free: 15.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (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) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches