Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001676/0.001676, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002167/0.002167, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.455/1.455, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2264/0.2264, allocations: 46.9 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 75.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2893, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001579/0.2909, allocations: 0.4915 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003126/0.2912, allocations: 103.7 kB / 0.5618 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.2912, allocations: 0 / 0.5618 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.2912, allocations: 4 kB / 0.5618 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.245e-05/0.2912, allocations: 0 / 0.5618 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.2914, allocations: 15.92 kB / 0.5618 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.2915, allocations: 11.92 kB / 0.5618 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.2915, allocations: 4 kB / 0.5618 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.2915, allocations: 15.92 kB / 0.5618 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.2916, allocations: 0 / 0.5618 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.2916, allocations: 0 / 0.5618 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.798e-05/0.2917, allocations: 31.97 kB / 0.5618 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2917, allocations: 3.984 kB / 0.5619 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2917, allocations: 19.92 kB / 0.5619 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.2918, allocations: 26.58 kB / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2918, allocations: 0 / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2918, allocations: 0 / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.2918, allocations: 0 / 0.5619 GB, free: 4.316 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.0004407/0.2923, allocations: 335.4 kB / 0.5622 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2923, allocations: 8.031 kB / 0.5622 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.2923, allocations: 0.9375 kB / 0.5622 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2925, allocations: 164.4 kB / 0.5624 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2925, allocations: 8.312 kB / 0.5624 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.2925, allocations: 384 / 0.5624 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2926, allocations: 55.97 kB / 0.5624 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2926, allocations: 192 / 0.5624 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2926, allocations: 3.938 kB / 0.5624 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.2926, allocations: 7.984 kB / 0.5625 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.2927, allocations: 15.92 kB / 0.5625 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.293, allocations: 321.2 kB / 0.5628 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.2931, allocations: 22.52 kB / 0.5628 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.2931, allocations: 20.94 kB / 0.5628 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2932, allocations: 0 / 0.5628 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.2932, allocations: 34.56 kB / 0.5628 GB, free: 3.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2932, allocations: 0 / 0.5628 GB, free: 3.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.2934, allocations: 65.58 kB / 0.5629 GB, free: 3.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2935, allocations: 51.41 kB / 0.563 GB, free: 3.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.2935, allocations: 93.86 kB / 0.5631 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2935, allocations: 33.64 kB / 0.5631 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.2936, allocations: 84.12 kB / 0.5632 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.2936, allocations: 15.84 kB / 0.5632 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2937, allocations: 17.72 kB / 0.5632 GB, free: 2.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2938, allocations: 315 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.2938, allocations: 11.98 kB / 0.5635 GB, free: 2.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.2939, allocations: 13.72 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.556e-05/0.2939, allocations: 33.66 kB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2939, allocations: 0 / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.609e-05/0.294, allocations: 53.62 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.294, allocations: 15.88 kB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.294, allocations: 8.016 kB / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2941, allocations: 0 / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.2941, allocations: 12 kB / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2941, allocations: 0 / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.2941, allocations: 3.953 kB / 0.5636 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2942, allocations: 4 kB / 0.5636 GB, free: 2.277 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.813e-05/0.2942, allocations: 109.8 kB / 0.5637 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2943, allocations: 0 / 0.5637 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.2944, allocations: 69.11 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2944, allocations: 4 kB / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2944, allocations: 4 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2944, allocations: 0 / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.2946, allocations: 161.6 kB / 0.564 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2946, allocations: 192 / 0.564 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.2946, allocations: 12 kB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2946, allocations: 0 / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2947, allocations: 0 / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2947, allocations: 0 / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2947, allocations: 0 / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.2948, allocations: 159.5 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.2949, allocations: 81.06 kB / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.2949, allocations: 0 / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.2949, allocations: 0 / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.2949, allocations: 12.16 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.2949, allocations: 3.938 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.295, allocations: 83.28 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.295, allocations: 0 / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.2952, allocations: 8.094 kB / 0.5643 GB, free: 1.48 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.0001303/0.2953, allocations: 99.19 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.2955, allocations: 27.97 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2955, allocations: 0 / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.2955, allocations: 15.94 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2957, allocations: 3.938 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.2959, allocations: 116.9 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.2963, allocations: 0.6807 MB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.2963, allocations: 3.984 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.2963, allocations: 11.44 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2963, allocations: 0 / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of Templates: time 0.002768/0.2991, allocations: 485.5 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.9436392318457365]