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.00122/0.00122, allocations: 114.7 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 71.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09738, allocations: 62.43 MB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001621/0.09907, allocations: 0.5259 MB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.09942, allocations: 162.1 kB / 482.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.09946, allocations: 0 / 482.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.09948, allocations: 3.938 kB / 482.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.0997, allocations: 39.83 kB / 482.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.09971, allocations: 0 / 482.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.09977, allocations: 27.86 kB / 482.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.09982, allocations: 3.984 kB / 482.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.562e-05/0.09984, allocations: 7.938 kB / 482.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.0999, allocations: 15.92 kB / 482.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.09991, allocations: 4 kB / 482.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.1, allocations: 51.94 kB / 482.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.1, allocations: 7.984 kB / 482.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.1001, allocations: 11.88 kB / 482.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.312e-05/0.1002, allocations: 43.88 kB / 482.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1002, allocations: 0 / 482.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1002, allocations: 0 / 482.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1002, allocations: 0 / 482.3 MB, free: 3.664 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.000259/0.1004, allocations: 339.6 kB / 482.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1005, allocations: 11.97 kB / 482.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.1005, allocations: 12.84 kB / 482.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.1006, allocations: 164.3 kB / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1006, allocations: 4.312 kB / 482.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.1006, allocations: 4.375 kB / 482.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1008, allocations: 66.17 kB / 482.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1008, allocations: 192 / 482.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1008, allocations: 3.938 kB / 482.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1008, allocations: 0 / 482.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.1009, allocations: 59.94 kB / 483 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.101, allocations: 169.7 kB / 483.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1012, allocations: 78.59 kB / 483.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.1012, allocations: 32.84 kB / 483.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.1015, allocations: 255.3 kB / 483.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1015, allocations: 30.56 kB / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1015, allocations: 4 kB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002031/0.1018, allocations: 113.6 kB / 483.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.1018, allocations: 51.41 kB / 483.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.1018, allocations: 93.86 kB / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1019, allocations: 25.7 kB / 483.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.153e-05/0.1019, allocations: 80.14 kB / 483.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1019, allocations: 31.55 kB / 483.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.102, allocations: 25.72 kB / 484 MB, free: 1.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.1021, allocations: 319 kB / 484.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.1021, allocations: 12 kB / 484.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.1021, allocations: 28.3 kB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.1022, allocations: 48.98 kB / 484.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1022, allocations: 0 / 484.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001096/0.1023, allocations: 85.62 kB / 484.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1023, allocations: 4 kB / 484.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1023, allocations: 7.922 kB / 484.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.1024, allocations: 0 / 484.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.1025, allocations: 20 kB / 484.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1025, allocations: 0 / 484.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.1025, allocations: 7.844 kB / 484.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1025, allocations: 8 kB / 484.5 MB, free: 1.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.1026, allocations: 113.7 kB / 484.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.1026, allocations: 7.984 kB / 484.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.1028, allocations: 105.5 kB / 484.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1028, allocations: 4 kB / 484.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1028, allocations: 4 kB / 484.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1028, allocations: 0 / 484.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1029, allocations: 177.5 kB / 484.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1029, allocations: 0 / 484.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.103, allocations: 12 kB / 484.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.103, allocations: 0 / 484.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.103, allocations: 11.94 kB / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.103, allocations: 0 / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.103, allocations: 192 / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1031, allocations: 117 kB / 485 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.1032, allocations: 81.02 kB / 485.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1032, allocations: 7.938 kB / 485.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.1032, allocations: 0 / 485.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1032, allocations: 7.984 kB / 485.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.1032, allocations: 4 kB / 485.1 MB, free: 500 kB / 350.1 MB Notification: Performance of sorting global known variables: time 2.591e-05/0.1033, allocations: 75.28 kB / 485.2 MB, free: 424 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1033, allocations: 0 / 485.2 MB, free: 424 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001896/0.1035, allocations: 16 kB / 485.2 MB, free: 408 kB / 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 (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.0001252/0.1036, allocations: 119.2 kB / 485.3 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.1037, allocations: 47.98 kB / 485.4 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1037, allocations: 3.938 kB / 485.4 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.1038, allocations: 27.98 kB / 485.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.1039, allocations: 11.09 kB / 485.4 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.1042, allocations: 136.8 kB / 485.6 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.1044, allocations: 0.688 MB / 486.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.1044, allocations: 4 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.1045, allocations: 11.44 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1045, allocations: 0 / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.002367/0.1068, allocations: 0.6559 MB / 486.9 MB, free: 14.65 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches