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.001316/0.001316, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.00145/0.00145, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.392/1.392, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2208/0.2208, allocations: 46.93 MB / 362 MB, free: 4.234 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.002346/0.002346, allocations: 83.86 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2782, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001581/0.2798, allocations: 0.5032 MB / 0.5628 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.2801, allocations: 99.7 kB / 0.5629 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.2801, allocations: 3.938 kB / 0.5629 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.2801, allocations: 0 / 0.5629 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.023e-05/0.2802, allocations: 0 / 0.5629 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.2803, allocations: 15.92 kB / 0.5629 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.2804, allocations: 12 kB / 0.5629 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.2804, allocations: 3.984 kB / 0.5629 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.2805, allocations: 7.938 kB / 0.5629 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.2805, allocations: 7.984 kB / 0.563 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2805, allocations: 8 kB / 0.563 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.521e-05/0.2806, allocations: 35.95 kB / 0.563 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.2806, allocations: 0 / 0.563 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.2806, allocations: 3.938 kB / 0.563 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.2807, allocations: 26.72 kB / 0.563 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2807, allocations: 0 / 0.563 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2807, allocations: 4 kB / 0.563 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2808, allocations: 0 / 0.563 GB, free: 3.551 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.0003709/0.2811, allocations: 254 kB / 0.5633 GB, free: 3.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2812, allocations: 16.03 kB / 0.5633 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.2812, allocations: 0.9375 kB / 0.5633 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2813, allocations: 110.5 kB / 0.5634 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2813, allocations: 8.375 kB / 0.5634 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2813, allocations: 384 / 0.5634 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2814, allocations: 51.97 kB / 0.5634 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2815, allocations: 192 / 0.5634 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2815, allocations: 3.938 kB / 0.5635 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2815, allocations: 0 / 0.5635 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.2815, allocations: 23.92 kB / 0.5635 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.2819, allocations: 292.2 kB / 0.5638 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.2819, allocations: 22.66 kB / 0.5638 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.282, allocations: 16.84 kB / 0.5638 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.282, allocations: 7.984 kB / 0.5638 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.282, allocations: 34.56 kB / 0.5638 GB, free: 2.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.282, allocations: 0 / 0.5638 GB, free: 2.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.2822, allocations: 61.58 kB / 0.5639 GB, free: 2.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.2822, allocations: 51.41 kB / 0.5639 GB, free: 2.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.2823, allocations: 93.86 kB / 0.564 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2823, allocations: 29.69 kB / 0.5641 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.2824, allocations: 88.08 kB / 0.5641 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.2824, allocations: 19.97 kB / 0.5642 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.2824, allocations: 17.72 kB / 0.5642 GB, free: 2.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2826, allocations: 310.8 kB / 0.5645 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.2826, allocations: 7.984 kB / 0.5645 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.2826, allocations: 21.66 kB / 0.5645 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.2827, allocations: 33.66 kB / 0.5645 GB, free: 1.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2827, allocations: 3.984 kB / 0.5645 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.671e-05/0.2828, allocations: 57.58 kB / 0.5646 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2828, allocations: 7.984 kB / 0.5646 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2828, allocations: 4 kB / 0.5646 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2828, allocations: 0 / 0.5646 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.2829, allocations: 8 kB / 0.5646 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2829, allocations: 0 / 0.5646 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.2829, allocations: 3.953 kB / 0.5646 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2829, allocations: 8 kB / 0.5646 GB, free: 1.711 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 8.16e-05/0.283, allocations: 113.8 kB / 0.5647 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.283, allocations: 0 / 0.5647 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.2832, allocations: 73.42 kB / 0.5648 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2832, allocations: 0 / 0.5648 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2832, allocations: 0 / 0.5648 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2832, allocations: 0 / 0.5648 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2833, allocations: 132.9 kB / 0.5649 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2833, allocations: 0 / 0.5649 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.2834, allocations: 8 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2834, allocations: 0 / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.2834, allocations: 3.984 kB / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2834, allocations: 4 kB / 0.5649 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2834, allocations: 0 / 0.5649 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.2835, allocations: 155.5 kB / 0.5651 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.2835, allocations: 7.891 kB / 0.5651 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2836, allocations: 0 / 0.5651 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.632e-05/0.2836, allocations: 0 / 0.5651 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2836, allocations: 7.984 kB / 0.5651 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2836, allocations: 0 / 0.5651 GB, free: 1.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.2837, allocations: 91.22 kB / 0.5652 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2837, allocations: 0 / 0.5652 GB, free: 1.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.2839, allocations: 4 kB / 0.5652 GB, free: 1.039 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.0001149/0.284, allocations: 103.2 kB / 0.5653 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.2841, allocations: 16 kB / 0.5653 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2841, allocations: 0 / 0.5653 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.2842, allocations: 23.92 kB / 0.5653 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2844, allocations: 8.094 kB / 0.5653 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.2846, allocations: 105 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.2849, allocations: 0.6768 MB / 0.5661 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.2849, allocations: 3.984 kB / 0.5661 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.285, allocations: 15.38 kB / 0.5661 GB, free: 28 kB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.285, allocations: 4 kB / 0.5661 GB, free: 24 kB / 398.1 MB Notification: Performance of Templates: time 0.002785/0.2878, allocations: 496.9 kB / 0.5666 GB, free: 15.54 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 gbode -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.605047627817839]