Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000902/0.000902, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000929/0.000929, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9631/0.9631, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2784/0.2784, allocations: 32.79 MB / 293.5 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.365e-05, allocations: 4.109 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001784/0.001807, allocations: 0.4973 MB / 440.1 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003258/0.002133, allocations: 99.67 kB / 440.2 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.002167, allocations: 0 / 440.2 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.002186, allocations: 3.938 kB / 440.2 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.211e-05/0.002208, allocations: 0 / 440.2 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.002439, allocations: 11.92 kB / 440.2 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.0025, allocations: 11.98 kB / 440.2 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.002554, allocations: 7.984 kB / 440.2 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.002602, allocations: 7.984 kB / 440.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.002653, allocations: 4 kB / 440.2 MB, free: 3.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.002672, allocations: 7.938 kB / 440.2 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.002758, allocations: 27.97 kB / 440.2 MB, free: 3.594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.002776, allocations: 7.984 kB / 440.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.828e-05/0.002794, allocations: 3.938 kB / 440.3 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.002906, allocations: 23.95 kB / 440.3 MB, free: 3.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.002911, allocations: 4 kB / 440.3 MB, free: 3.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.002913, allocations: 0 / 440.3 MB, free: 3.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.002917, allocations: 0 / 440.3 MB, free: 3.555 MB / 410.7 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.0003716/0.003289, allocations: 254.3 kB / 440.5 MB, free: 3.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.003335, allocations: 12.03 kB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.003373, allocations: 34.75 kB / 440.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.003399, allocations: 8.922 kB / 440.6 MB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.00349, allocations: 105.8 kB / 440.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.003502, allocations: 384 / 440.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.003512, allocations: 4.312 kB / 440.7 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.003653, allocations: 55.97 kB / 440.7 MB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.003662, allocations: 192 / 440.7 MB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.003672, allocations: 4.375 kB / 440.8 MB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.003679, allocations: 8.062 kB / 440.8 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/0.003729, allocations: 7.938 kB / 440.8 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.004071, allocations: 296.2 kB / 441.1 MB, free: 2.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.675e-05/0.004138, allocations: 34.55 kB / 441.1 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.004177, allocations: 8.859 kB / 441.1 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.004196, allocations: 0 / 441.1 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.004226, allocations: 42.5 kB / 441.1 MB, free: 2.551 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004227, allocations: 0 / 441.1 MB, free: 2.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002043/0.004431, allocations: 53.73 kB / 441.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.004469, allocations: 51.41 kB / 441.2 MB, free: 2.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.004544, allocations: 105.8 kB / 441.3 MB, free: 2.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.004557, allocations: 25.7 kB / 441.4 MB, free: 2.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.004597, allocations: 84.27 kB / 441.5 MB, free: 2.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.004609, allocations: 15.84 kB / 441.5 MB, free: 2.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.004647, allocations: 17.72 kB / 441.5 MB, free: 2.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.004741, allocations: 314.8 kB / 441.8 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.004768, allocations: 8 kB / 441.8 MB, free: 1.836 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.0048, allocations: 21.72 kB / 441.8 MB, free: 1.809 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.004857, allocations: 25.7 kB / 441.8 MB, free: 1.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004859, allocations: 0 / 441.8 MB, free: 1.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001077/0.004967, allocations: 61.56 kB / 441.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.004984, allocations: 8 kB / 441.9 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.00499, allocations: 4.031 kB / 441.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.005005, allocations: 0 / 441.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.005085, allocations: 8.125 kB / 441.9 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.005092, allocations: 4 kB / 441.9 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.005115, allocations: 3.953 kB / 441.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.005123, allocations: 4 kB / 441.9 MB, free: 1.68 MB / 410.7 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 6.624e-05/0.005189, allocations: 109.8 kB / 442 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.005217, allocations: 15.92 kB / 442.1 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.005357, allocations: 57.38 kB / 442.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.00536, allocations: 3.938 kB / 442.1 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.005364, allocations: 4 kB / 442.1 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005368, allocations: 0 / 442.1 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.00552, allocations: 132.7 kB / 442.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.005522, allocations: 0 / 442.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.005571, allocations: 8 kB / 442.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.005575, allocations: 3.938 kB / 442.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.005583, allocations: 4 kB / 442.3 MB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.005585, allocations: 4 kB / 442.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.005587, allocations: 0 / 442.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.005713, allocations: 147.5 kB / 442.4 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.005725, allocations: 11.89 kB / 442.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.005737, allocations: 7.938 kB / 442.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.005787, allocations: 0 / 442.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.005819, allocations: 7.984 kB / 442.4 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.005825, allocations: 4 kB / 442.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.005858, allocations: 75.28 kB / 442.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.005858, allocations: 0 / 442.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.006115, allocations: 8 kB / 442.5 MB, free: 1.008 MB / 410.7 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.0006853/0.0068, allocations: 0.6891 MB / 443.2 MB, free: 300 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.006917, allocations: 24.31 kB / 443.2 MB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006919, allocations: 0 / 443.2 MB, free: 276 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.006947, allocations: 15.94 kB / 443.3 MB, free: 260 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.007191, allocations: 7.984 kB / 443.3 MB, free: 252 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.007609, allocations: 134.6 kB / 443.4 MB, free: 76 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1612/0.1688, allocations: 59.34 kB / 443.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.144e-05/0.1688, allocations: 6.812 kB / 443.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.1689, allocations: 14.69 kB / 443.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1689, allocations: 1.906 kB / 443.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.1872, allocations: 1.943 MB / 445.4 MB, free: 44.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.399, allocations: 14.73 kB / 445.4 MB, free: 44.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.625857043080032]