Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008777/0.0008777, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0008359/0.0008359, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8499/0.8499, allocations: 158.6 MB / 185.1 MB, free: 2.992 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1282/0.1282, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.771e-06, allocations: 0 / 407 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/2.041e-05, allocations: 10.02 kB / 407 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001149/0.00117, allocations: 0.5142 MB / 407.6 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002126/0.001382, allocations: 97.56 kB / 407.6 MB, free: 1.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.001403, allocations: 0 / 407.6 MB, free: 1.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.001414, allocations: 4 kB / 407.7 MB, free: 1.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.866e-05/0.001432, allocations: 0 / 407.7 MB, free: 1.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.001599, allocations: 15.86 kB / 407.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.848e-05/0.001648, allocations: 11.98 kB / 407.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.001685, allocations: 7.984 kB / 407.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.001723, allocations: 15.92 kB / 407.7 MB, free: 1.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.001765, allocations: 0 / 407.7 MB, free: 1.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.001778, allocations: 4 kB / 407.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.11e-05/0.001839, allocations: 27.97 kB / 407.7 MB, free: 1.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.001852, allocations: 3.984 kB / 407.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.001867, allocations: 4 kB / 407.7 MB, free: 1.453 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.07e-05/0.001947, allocations: 31.89 kB / 407.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.001949, allocations: 0 / 407.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00195, allocations: 0 / 407.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.001953, allocations: 0 / 407.8 MB, free: 1.422 MB / 378.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.0002704/0.002223, allocations: 258.3 kB / 408 MB, free: 1.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.002256, allocations: 8.031 kB / 408 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.364e-05/0.00228, allocations: 38.75 kB / 408.1 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.762e-05/0.002298, allocations: 4.875 kB / 408.1 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.088e-05/0.002358, allocations: 105.8 kB / 408.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.002366, allocations: 4.375 kB / 408.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.002375, allocations: 4.375 kB / 408.2 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.002466, allocations: 55.91 kB / 408.2 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.002472, allocations: 192 / 408.2 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.002478, allocations: 384 / 408.2 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.002484, allocations: 8.125 kB / 408.2 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.002514, allocations: 8 kB / 408.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.002731, allocations: 288.1 kB / 408.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.002774, allocations: 38.59 kB / 408.6 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.002799, allocations: 8.859 kB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.00281, allocations: 0 / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.002829, allocations: 42.5 kB / 408.6 MB, free: 432 kB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 4.91e-07/0.002829, allocations: 0 / 408.6 MB, free: 432 kB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001307/0.00296, allocations: 57.67 kB / 408.7 MB, free: 368 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.002984, allocations: 51.41 kB / 408.7 MB, free: 304 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.003034, allocations: 101.8 kB / 408.8 MB, free: 192 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.003043, allocations: 25.7 kB / 408.9 MB, free: 160 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.003074, allocations: 88.2 kB / 408.9 MB, free: 68 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.003083, allocations: 15.91 kB / 409 MB, free: 52 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.003104, allocations: 13.72 kB / 409 MB, free: 32 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.003179, allocations: 318.8 kB / 409.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.003193, allocations: 4 kB / 409.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.00321, allocations: 21.78 kB / 409.3 MB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.003248, allocations: 37.64 kB / 409.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.003249, allocations: 0 / 409.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.259e-05/0.003302, allocations: 57.62 kB / 409.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.003312, allocations: 12.03 kB / 409.4 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.003316, allocations: 0 / 409.4 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.003326, allocations: 0 / 409.4 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.003375, allocations: 11.94 kB / 409.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.003379, allocations: 0 / 409.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.003394, allocations: 3.953 kB / 409.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.0034, allocations: 4 kB / 409.4 MB, free: 15.54 MB / 394.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 4.518e-05/0.003445, allocations: 109.8 kB / 409.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.003456, allocations: 7.938 kB / 409.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.003539, allocations: 57.36 kB / 409.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.003541, allocations: 8 kB / 409.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.003544, allocations: 0 / 409.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.003546, allocations: 0 / 409.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.213e-05/0.003639, allocations: 132.7 kB / 409.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00364, allocations: 7.922 kB / 409.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.003659, allocations: 11.94 kB / 409.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.003661, allocations: 3.938 kB / 409.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.003666, allocations: 0 / 409.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003666, allocations: 0 / 409.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.003667, allocations: 4 kB / 409.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.9e-05/0.003736, allocations: 147.5 kB / 409.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.003742, allocations: 11.94 kB / 409.9 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.003749, allocations: 128 / 409.9 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.541e-05/0.003775, allocations: 4 kB / 409.9 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.003805, allocations: 7.984 kB / 409.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.003807, allocations: 4 kB / 409.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.005e-05/0.003827, allocations: 75.28 kB / 410 MB, free: 14.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003828, allocations: 0 / 410 MB, free: 14.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.003977, allocations: 8 kB / 410 MB, free: 14.88 MB / 394.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.0002378/0.004215, allocations: 0.6851 MB / 410.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.004284, allocations: 35.95 kB / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.004286, allocations: 0 / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.004302, allocations: 12 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.004443, allocations: 4 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.004697, allocations: 138.5 kB / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.004731, allocations: 55.69 kB / 410.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.004756, allocations: 12.05 kB / 411 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.004788, allocations: 8.5 kB / 411 MB, free: 13.84 MB / 394.7 MB Notification: Performance of SimCode: time 4.8e-07/0.004788, allocations: 0 / 411 MB, free: 13.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.01765, allocations: 1.937 MB / 412.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.907, allocations: 3.938 kB / 412.9 MB, free: 11.88 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.94078587833792]