Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 211.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2237/0.2237, allocations: 46.96 MB / 360.9 MB, free: 4.016 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 63.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3624, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001595/0.364, allocations: 0.4955 MB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.3643, allocations: 91.67 kB / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.3643, allocations: 0 / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.3643, allocations: 3.938 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.623e-05/0.3643, allocations: 4 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.3645, allocations: 19.91 kB / 0.5612 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.197e-05/0.3646, allocations: 8 kB / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.3646, allocations: 15.97 kB / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.3646, allocations: 0 / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.3647, allocations: 11.94 kB / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3647, allocations: 0 / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.3648, allocations: 31.95 kB / 0.5612 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.3648, allocations: 0 / 0.5612 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.3648, allocations: 11.94 kB / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.3649, allocations: 21.78 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3649, allocations: 0 / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3649, allocations: 0 / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3649, allocations: 0 / 0.5613 GB, free: 3.539 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.0003858/0.3653, allocations: 266.2 kB / 0.5615 GB, free: 3.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3653, allocations: 8.031 kB / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.3654, allocations: 34.75 kB / 0.5616 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.3654, allocations: 8.922 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.3655, allocations: 102.5 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3655, allocations: 384 / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3655, allocations: 4.375 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3657, allocations: 63.84 kB / 0.5617 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3657, allocations: 3.938 kB / 0.5617 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.3657, allocations: 0 / 0.5617 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3657, allocations: 4 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.3657, allocations: 11.98 kB / 0.5618 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.3661, allocations: 296.2 kB / 0.562 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.232e-05/0.3661, allocations: 26.52 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.3662, allocations: 16.94 kB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3662, allocations: 0 / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3662, allocations: 34.56 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3662, allocations: 0 / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001753/0.3664, allocations: 57.58 kB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3664, allocations: 55.41 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.3665, allocations: 97.86 kB / 0.5623 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3665, allocations: 29.7 kB / 0.5623 GB, free: 2.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.3666, allocations: 80.14 kB / 0.5624 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.3666, allocations: 19.83 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3666, allocations: 13.72 kB / 0.5624 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3668, allocations: 318.8 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.3668, allocations: 4 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.3668, allocations: 25.7 kB / 0.5628 GB, free: 1.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.3669, allocations: 29.78 kB / 0.5628 GB, free: 1.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3669, allocations: 7.938 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.214e-05/0.367, allocations: 53.69 kB / 0.5629 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.367, allocations: 6.5 kB / 0.5629 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.367, allocations: 4 kB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.367, allocations: 0 / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.3671, allocations: 15.86 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3671, allocations: 4 kB / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.3671, allocations: 3.953 kB / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3671, allocations: 0 / 0.5629 GB, free: 1.652 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.357e-05/0.3672, allocations: 121.8 kB / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3672, allocations: 0 / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.3673, allocations: 57.38 kB / 0.5631 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3673, allocations: 0 / 0.5631 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3673, allocations: 0 / 0.5631 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.3674, allocations: 8.219 kB / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.3675, allocations: 132.6 kB / 0.5632 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3675, allocations: 0 / 0.5632 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.3675, allocations: 8 kB / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.3676, allocations: 7.969 kB / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3676, allocations: 0 / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3676, allocations: 7.938 kB / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3676, allocations: 0 / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.3677, allocations: 155.7 kB / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.3677, allocations: 7.891 kB / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3677, allocations: 4 kB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.3678, allocations: 4 kB / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.3678, allocations: 0 / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3678, allocations: 0 / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.3679, allocations: 83.27 kB / 0.5635 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3679, allocations: 3.938 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.3681, allocations: 4.094 kB / 0.5635 GB, free: 0.9766 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.0004839/0.3686, allocations: 0.6851 MB / 0.5641 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.3687, allocations: 31.92 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3687, allocations: 0 / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.3687, allocations: 8 kB / 0.5642 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.3689, allocations: 4 kB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.3693, allocations: 138.6 kB / 0.5643 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.743e-05/0.3694, allocations: 67.33 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.921e-05/0.3694, allocations: 4.062 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.3694, allocations: 15.38 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3694, allocations: 0 / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.3972, allocations: 1.8 MB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.02, allocations: 6.984 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 13.944937403313816]