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.001369/0.001369, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001698/0.001698, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2377/0.2377, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.002003/0.002003, allocations: 71.89 kB / 0.4961 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 66.03 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00165/0.312, allocations: 0.506 MB / 0.5611 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003/0.3123, allocations: 91.72 kB / 0.5612 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.3123, allocations: 0 / 0.5612 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.3123, allocations: 7.938 kB / 0.5612 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.3123, allocations: 0 / 0.5612 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3125, allocations: 19.91 kB / 0.5612 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.408e-05/0.3126, allocations: 12 kB / 0.5613 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3126, allocations: 0 / 0.5613 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.3127, allocations: 15.91 kB / 0.5613 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.3127, allocations: 4 kB / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3127, allocations: 4 kB / 0.5613 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/0.3128, allocations: 27.97 kB / 0.5613 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.3128, allocations: 11.92 kB / 0.5613 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.3128, allocations: 4 kB / 0.5613 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.313, allocations: 29.72 kB / 0.5613 GB, free: 3.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.313, allocations: 0 / 0.5613 GB, free: 3.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.313, allocations: 0 / 0.5613 GB, free: 3.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.313, allocations: 0 / 0.5613 GB, free: 3.746 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.0003631/0.3133, allocations: 258.3 kB / 0.5616 GB, free: 3.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3134, allocations: 8.031 kB / 0.5616 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3134, allocations: 38.75 kB / 0.5616 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/0.3134, allocations: 0.9375 kB / 0.5616 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.3135, allocations: 106.5 kB / 0.5617 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3135, allocations: 4.375 kB / 0.5617 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.3135, allocations: 384 / 0.5617 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3137, allocations: 55.91 kB / 0.5618 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3137, allocations: 3.938 kB / 0.5618 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3137, allocations: 4 kB / 0.5618 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3137, allocations: 0 / 0.5618 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.3137, allocations: 11.98 kB / 0.5618 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3141, allocations: 300.2 kB / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.3141, allocations: 26.52 kB / 0.5621 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.3142, allocations: 16.94 kB / 0.5621 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3142, allocations: 0 / 0.5621 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3142, allocations: 34.5 kB / 0.5622 GB, free: 2.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.3142, allocations: 4 kB / 0.5622 GB, free: 2.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001718/0.3144, allocations: 61.58 kB / 0.5622 GB, free: 2.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.3144, allocations: 55.34 kB / 0.5623 GB, free: 2.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.3145, allocations: 97.86 kB / 0.5624 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3145, allocations: 25.7 kB / 0.5624 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.3146, allocations: 84.12 kB / 0.5625 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.3146, allocations: 15.84 kB / 0.5625 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3146, allocations: 17.84 kB / 0.5625 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3148, allocations: 314.8 kB / 0.5628 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.3148, allocations: 11.98 kB / 0.5628 GB, free: 2.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.3148, allocations: 17.72 kB / 0.5629 GB, free: 2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.797e-05/0.3149, allocations: 33.83 kB / 0.5629 GB, free: 1.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3149, allocations: 4.062 kB / 0.5629 GB, free: 1.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.469e-05/0.315, allocations: 57.69 kB / 0.5629 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.315, allocations: 12.03 kB / 0.563 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.315, allocations: 3.984 kB / 0.563 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.315, allocations: 0 / 0.563 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.3151, allocations: 11.94 kB / 0.563 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3151, allocations: 0 / 0.563 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.3151, allocations: 3.953 kB / 0.563 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3151, allocations: 4 kB / 0.563 GB, free: 1.859 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.69e-05/0.3152, allocations: 113.7 kB / 0.5631 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.3152, allocations: 0 / 0.5631 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.3154, allocations: 69.36 kB / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3154, allocations: 0 / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3154, allocations: 4 kB / 0.5632 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3154, allocations: 0 / 0.5632 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.3156, allocations: 128.7 kB / 0.5633 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3156, allocations: 3.938 kB / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.3156, allocations: 8 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3156, allocations: 0 / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.3156, allocations: 4 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3156, allocations: 0 / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3156, allocations: 4 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.3158, allocations: 151.5 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.3158, allocations: 7.891 kB / 0.5635 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.3158, allocations: 0 / 0.5635 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.3158, allocations: 7.938 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.3158, allocations: 8.109 kB / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3159, allocations: 4 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.492e-05/0.3159, allocations: 83.28 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3159, allocations: 3.938 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.3161, allocations: 7.938 kB / 0.5636 GB, free: 1.18 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.0004358/0.3165, allocations: 0.6773 MB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3167, allocations: 27.92 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3167, allocations: 4.156 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.3167, allocations: 15.98 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.3169, allocations: 6.5 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.3173, allocations: 138.6 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3176, allocations: 0.6768 MB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.3176, allocations: 4 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.3176, allocations: 15.44 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3176, allocations: 0 / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.3449, allocations: 1.417 MB / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.85, allocations: 6.984 kB / 0.5665 GB, free: 14.24 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.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_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: 14.029981289997522]