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.001521/0.001521, allocations: 110 kB / 20.43 MB, free: 1.453 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.001416/0.001416, allocations: 213.9 kB / 23.74 MB, free: 4.66 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.2188/0.2188, allocations: 46.91 MB / 360.8 MB, free: 4.262 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 75.88 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3287, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00164/0.3303, allocations: 0.5016 MB / 0.5612 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.3306, allocations: 95.72 kB / 0.5613 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.3306, allocations: 0 / 0.5613 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.3307, allocations: 4 kB / 0.5613 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.106e-05/0.3307, allocations: 0 / 0.5613 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.3309, allocations: 15.92 kB / 0.5613 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.3309, allocations: 11.98 kB / 0.5613 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.331, allocations: 3.984 kB / 0.5613 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.331, allocations: 11.94 kB / 0.5613 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.3311, allocations: 7.984 kB / 0.5614 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.3311, allocations: 0 / 0.5614 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.3312, allocations: 35.91 kB / 0.5614 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.3312, allocations: 0 / 0.5614 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.3312, allocations: 3.938 kB / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3313, allocations: 37.72 kB / 0.5614 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3313, allocations: 0 / 0.5614 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3313, allocations: 0 / 0.5614 GB, free: 3.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3313, allocations: 0 / 0.5614 GB, free: 3.574 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.0003896/0.3317, allocations: 254.3 kB / 0.5617 GB, free: 3.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3317, allocations: 12.03 kB / 0.5617 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.3318, allocations: 34.75 kB / 0.5617 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.3318, allocations: 0.9375 kB / 0.5617 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3319, allocations: 118.5 kB / 0.5618 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3319, allocations: 384 / 0.5618 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.3319, allocations: 4.375 kB / 0.5618 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3321, allocations: 51.97 kB / 0.5619 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3321, allocations: 7.938 kB / 0.5619 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3321, allocations: 0 / 0.5619 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3321, allocations: 0 / 0.5619 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.3321, allocations: 11.94 kB / 0.5619 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.3325, allocations: 300.2 kB / 0.5622 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.987e-05/0.3325, allocations: 30.52 kB / 0.5622 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.3326, allocations: 8.859 kB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3326, allocations: 0 / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.3326, allocations: 38.5 kB / 0.5623 GB, free: 2.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3326, allocations: 4 kB / 0.5623 GB, free: 2.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001855/0.3328, allocations: 57.73 kB / 0.5623 GB, free: 2.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.3328, allocations: 51.41 kB / 0.5624 GB, free: 2.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.3329, allocations: 101.8 kB / 0.5625 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3329, allocations: 29.7 kB / 0.5625 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.333, allocations: 80.14 kB / 0.5626 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.333, allocations: 15.84 kB / 0.5626 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.333, allocations: 13.72 kB / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3332, allocations: 323 kB / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.3332, allocations: 4 kB / 0.5629 GB, free: 1.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.3332, allocations: 25.66 kB / 0.5629 GB, free: 1.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/0.3333, allocations: 25.7 kB / 0.563 GB, free: 1.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3333, allocations: 3.938 kB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.437e-05/0.3334, allocations: 61.62 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3334, allocations: 8.031 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3334, allocations: 0 / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3334, allocations: 0 / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.3335, allocations: 8 kB / 0.563 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3335, allocations: 3.938 kB / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.3335, allocations: 8.188 kB / 0.5631 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3335, allocations: 3.984 kB / 0.5631 GB, free: 1.691 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 9.239e-05/0.3336, allocations: 121.8 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.3336, allocations: 0 / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.3338, allocations: 69.3 kB / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3338, allocations: 0 / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3338, allocations: 0 / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.3338, allocations: 0 / 0.5632 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3339, allocations: 132.7 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3339, allocations: 4 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.334, allocations: 4 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.334, allocations: 0 / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.334, allocations: 4.188 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.334, allocations: 4 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.334, allocations: 3.984 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3341, allocations: 151.4 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.3341, allocations: 15.88 kB / 0.5635 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3341, allocations: 0 / 0.5635 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.3342, allocations: 4 kB / 0.5635 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.3342, allocations: 3.938 kB / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3342, allocations: 4 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.3343, allocations: 79.28 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3343, allocations: 0 / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.3345, allocations: 7.984 kB / 0.5636 GB, free: 1.012 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.0004411/0.3349, allocations: 0.6812 MB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.335, allocations: 27.92 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.335, allocations: 160 / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.3351, allocations: 12 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3353, allocations: 8 kB / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.3356, allocations: 142.5 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3359, allocations: 0.6768 MB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.336, allocations: 4 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.336, allocations: 11.44 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.336, allocations: 0 / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.3627, allocations: 1.432 MB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.92, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/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_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: 13.965760037004657]