Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001695/0.001695, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.722/1.722, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2611/0.2611, allocations: 46.11 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 76.28 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1728, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002083/0.1749, allocations: 0.5566 MB / 480.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004032/0.1753, allocations: 98.33 kB / 480.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.1754, allocations: 4 kB / 480.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.1754, allocations: 4 kB / 480.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.1755, allocations: 0 / 480.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.1756, allocations: 8 kB / 480.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.1757, allocations: 15.92 kB / 480.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.1758, allocations: 4 kB / 480.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.1758, allocations: 7.938 kB / 480.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.1759, allocations: 11.97 kB / 480.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1759, allocations: 0 / 480.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.176, allocations: 31.97 kB / 480.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.176, allocations: 0 / 480.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.176, allocations: 15.92 kB / 480.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.1761, allocations: 11.98 kB / 480.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1761, allocations: 0 / 480.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1762, allocations: 0 / 480.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1762, allocations: 0 / 480.7 MB, free: 4.934 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004633/0.1766, allocations: 327.6 kB / 481 MB, free: 4.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1767, allocations: 12.88 kB / 481 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1767, allocations: 0.9375 kB / 481 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1769, allocations: 160.4 kB / 481.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1769, allocations: 8.375 kB / 481.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1769, allocations: 8.297 kB / 481.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.177, allocations: 59.91 kB / 481.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1771, allocations: 4.172 kB / 481.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1771, allocations: 3.938 kB / 481.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1771, allocations: 0 / 481.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.1771, allocations: 12 kB / 481.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1775, allocations: 329.2 kB / 481.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.1776, allocations: 38.48 kB / 481.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.1777, allocations: 20.8 kB / 481.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1777, allocations: 0 / 481.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1777, allocations: 30.56 kB / 481.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.865e-06/0.1777, allocations: 4 kB / 481.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001961/0.1779, allocations: 53.78 kB / 481.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.178, allocations: 59.34 kB / 481.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.1781, allocations: 93.84 kB / 481.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1781, allocations: 25.7 kB / 481.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.1782, allocations: 84.14 kB / 482 MB, free: 3.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.1782, allocations: 15.8 kB / 482 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1782, allocations: 17.72 kB / 482 MB, free: 3.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1784, allocations: 319 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.1784, allocations: 4 kB / 482.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.1784, allocations: 21.72 kB / 482.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/0.1785, allocations: 29.7 kB / 482.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1785, allocations: 0 / 482.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.1786, allocations: 57.56 kB / 482.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1786, allocations: 8 kB / 482.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1787, allocations: 4.031 kB / 482.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1787, allocations: 0 / 482.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.1788, allocations: 8 kB / 482.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1788, allocations: 0 / 482.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.1788, allocations: 7.844 kB / 482.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1788, allocations: 4 kB / 482.5 MB, free: 2.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.28e-05/0.1789, allocations: 118.3 kB / 482.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1789, allocations: 4 kB / 482.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.1791, allocations: 61.19 kB / 482.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1792, allocations: 7.938 kB / 482.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1792, allocations: 0 / 482.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1792, allocations: 0 / 482.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1794, allocations: 161.5 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1794, allocations: 0 / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.1794, allocations: 11.94 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1794, allocations: 0 / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1794, allocations: 240 / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1794, allocations: 192 / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/0.1795, allocations: 7.984 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.1796, allocations: 155.5 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.1797, allocations: 88.98 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.1797, allocations: 0 / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.1797, allocations: 0 / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.1798, allocations: 4 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1798, allocations: 3.938 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.807e-05/0.1798, allocations: 79.28 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1798, allocations: 4.094 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1801, allocations: 8 kB / 483.2 MB, free: 2.094 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 (5): * Single equations (assignments): 5 * 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.0001427/0.1802, allocations: 103.2 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.1803, allocations: 20 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1803, allocations: 0 / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.1804, allocations: 15.98 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.1806, allocations: 7.938 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.1809, allocations: 144.4 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1812, allocations: 0.677 MB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.1812, allocations: 11.44 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1812, allocations: 0 / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Templates: time 0.002338/0.1836, allocations: 0.5663 MB / 484.7 MB, free: 496 kB / 350.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches