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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 79.88 kB / 0.4966 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2965, allocations: 66.09 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001597/0.2981, allocations: 0.4994 MB / 0.5616 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003033/0.2984, allocations: 91.73 kB / 0.5617 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.2984, allocations: 0 / 0.5617 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2985, allocations: 3.938 kB / 0.5617 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.785e-05/0.2985, allocations: 0 / 0.5617 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.2987, allocations: 15.98 kB / 0.5618 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.2987, allocations: 15.92 kB / 0.5618 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.2988, allocations: 4 kB / 0.5618 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.364e-05/0.2988, allocations: 3.938 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.2988, allocations: 11.98 kB / 0.5618 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2988, allocations: 0 / 0.5618 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.2989, allocations: 27.97 kB / 0.5618 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.2989, allocations: 3.938 kB / 0.5618 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.299, allocations: 15.92 kB / 0.5618 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.148e-05/0.2991, allocations: 19.62 kB / 0.5619 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2991, allocations: 4 kB / 0.5619 GB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2991, allocations: 0 / 0.5619 GB, free: 3.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2991, allocations: 3.938 kB / 0.5619 GB, free: 3.262 MB / 398.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.0003843/0.2995, allocations: 257 kB / 0.5621 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2995, allocations: 8.031 kB / 0.5621 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.2995, allocations: 4.938 kB / 0.5621 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2996, allocations: 110.5 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.2996, allocations: 384 / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.2996, allocations: 4.375 kB / 0.5622 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2998, allocations: 55.91 kB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2998, allocations: 4.188 kB / 0.5623 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2998, allocations: 3.938 kB / 0.5623 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.2998, allocations: 0 / 0.5623 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.2998, allocations: 12 kB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.3001, allocations: 272.8 kB / 0.5626 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.3002, allocations: 22.52 kB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.3003, allocations: 16.98 kB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3003, allocations: 7.938 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3003, allocations: 30.56 kB / 0.5626 GB, free: 2.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3003, allocations: 0 / 0.5626 GB, free: 2.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.3005, allocations: 65.58 kB / 0.5627 GB, free: 2.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3005, allocations: 51.41 kB / 0.5627 GB, free: 2.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.3006, allocations: 93.86 kB / 0.5628 GB, free: 2.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3006, allocations: 25.7 kB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.3007, allocations: 92.12 kB / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.3007, allocations: 11.84 kB / 0.563 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.3007, allocations: 17.72 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3008, allocations: 310.8 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.3009, allocations: 11.98 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.3009, allocations: 17.84 kB / 0.5633 GB, free: 1.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.499e-05/0.301, allocations: 33.72 kB / 0.5633 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.301, allocations: 0 / 0.5633 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.306e-05/0.3011, allocations: 57.75 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3011, allocations: 4 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3011, allocations: 4.031 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3011, allocations: 11.92 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.3012, allocations: 4 kB / 0.5634 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3012, allocations: 3.938 kB / 0.5634 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.3012, allocations: 7.953 kB / 0.5634 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3012, allocations: 11.97 kB / 0.5634 GB, free: 1.457 MB / 398.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 7.443e-05/0.3013, allocations: 109.8 kB / 0.5635 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.3013, allocations: 3.938 kB / 0.5635 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.3014, allocations: 65.55 kB / 0.5636 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3014, allocations: 4 kB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3014, allocations: 0 / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3014, allocations: 0 / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3016, allocations: 109.3 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3016, allocations: 0 / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.3016, allocations: 7.938 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3016, allocations: 7.938 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3016, allocations: 7.984 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3016, allocations: 0 / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3016, allocations: 0 / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3018, allocations: 143.5 kB / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.3018, allocations: 15.89 kB / 0.5639 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.3018, allocations: 0 / 0.5639 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.3018, allocations: 0 / 0.5639 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.3019, allocations: 4 kB / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3019, allocations: 0 / 0.5639 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.3019, allocations: 83.27 kB / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3019, allocations: 4 kB / 0.564 GB, free: 0.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.3021, allocations: 8 kB / 0.564 GB, free: 0.8242 MB / 398.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.0001199/0.3023, allocations: 103.1 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.3024, allocations: 19.98 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3024, allocations: 0 / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.3024, allocations: 12 kB / 0.5641 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.3026, allocations: 7.938 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.3028, allocations: 109 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.3029, allocations: 71.44 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.3029, allocations: 0 / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.3029, allocations: 11.44 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3029, allocations: 0 / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of Templates: time 0.002811/0.3057, allocations: 480.2 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.9274627789855]