Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 107.6 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 191.5 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2025/0.2025, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 72.81 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1159, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001875/0.1178, allocations: 0.5376 MB / 441.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.1185, allocations: 403.3 kB / 441.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.1185, allocations: 0 / 441.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.1186, allocations: 3.938 kB / 441.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.1e-05/0.1186, allocations: 4 kB / 441.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.1192, allocations: 147.8 kB / 441.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.1192, allocations: 27.91 kB / 441.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.1193, allocations: 4 kB / 441.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.1193, allocations: 19.92 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.1194, allocations: 23.91 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1194, allocations: 0 / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.1197, allocations: 159.8 kB / 441.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.1197, allocations: 15.98 kB / 442 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1197, allocations: 19.86 kB / 442 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1199, allocations: 119.8 kB / 442.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1199, allocations: 0 / 442.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.12, allocations: 0 / 442.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.12, allocations: 4 kB / 442.1 MB, free: 5.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003702/0.1203, allocations: 367.4 kB / 442.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1204, allocations: 15.89 kB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.1204, allocations: 38.69 kB / 442.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1205, allocations: 8.844 kB / 442.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.1206, allocations: 168.3 kB / 442.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1206, allocations: 8.375 kB / 442.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1206, allocations: 4.375 kB / 442.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1207, allocations: 69.97 kB / 442.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1207, allocations: 0 / 442.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1208, allocations: 4 kB / 442.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1208, allocations: 0 / 442.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.1208, allocations: 43.95 kB / 442.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.121, allocations: 177.5 kB / 443 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1211, allocations: 86.48 kB / 443.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.1211, allocations: 28.84 kB / 443.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.1214, allocations: 109 kB / 443.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.1214, allocations: 38.5 kB / 443.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.1214, allocations: 0 / 443.2 MB, free: 3.988 MB / 318.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1362/0.2576, allocations: 5.611 MB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.2577, allocations: 59.27 kB / 448.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.2578, allocations: 97.86 kB / 449 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.2579, allocations: 29.7 kB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.2579, allocations: 80.52 kB / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.258, allocations: 78.89 kB / 449.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.2582, allocations: 61.67 kB / 449.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2583, allocations: 322.8 kB / 449.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.2587, allocations: 116 kB / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.259, allocations: 111.9 kB / 449.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.2605, allocations: 325 kB / 450.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2605, allocations: 3.938 kB / 450.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001177/0.2617, allocations: 357.2 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2617, allocations: 4 kB / 450.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2617, allocations: 0 / 450.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.2617, allocations: 4 kB / 450.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.2622, allocations: 83.84 kB / 450.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2622, allocations: 4 kB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2624, allocations: 27.91 kB / 450.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.2624, allocations: 11.98 kB / 450.6 MB, free: 12.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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 0.0001185/0.2625, allocations: 125.7 kB / 450.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2626, allocations: 7.906 kB / 450.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.264, allocations: 445.7 kB / 451.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2641, allocations: 4 kB / 451.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2641, allocations: 0 / 451.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.2641, allocations: 11.92 kB / 451.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.2663, allocations: 0.7728 MB / 451.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2663, allocations: 4 kB / 451.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.2666, allocations: 75.86 kB / 452 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.2666, allocations: 0 / 452 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.2667, allocations: 16.06 kB / 452 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2667, allocations: 7.984 kB / 452 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2667, allocations: 0 / 452 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2678, allocations: 428.9 kB / 452.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.2679, allocations: 85.02 kB / 452.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.2679, allocations: 3.984 kB / 452.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2681, allocations: 27.97 kB / 452.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.2682, allocations: 15.98 kB / 452.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.2682, allocations: 15.98 kB / 452.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.2683, allocations: 79.22 kB / 452.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2683, allocations: 0 / 452.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001566/0.2698, allocations: 0.625 MB / 453.3 MB, free: 9.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004615/0.2745, allocations: 1.139 MB / 454.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008637/0.2753, allocations: 275.4 kB / 454.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2754, allocations: 0 / 454.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.2757, allocations: 128.4 kB / 454.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.276, allocations: 9.203 kB / 454.8 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2779, allocations: 421.1 kB / 455.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.2782, allocations: 0.697 MB / 456 MB, free: 6.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.2785, allocations: 81.08 kB / 456 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2786, allocations: 55.33 kB / 456.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of SimCode: time 1.663e-06/0.2786, allocations: 0 / 456.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08799/0.3666, allocations: 55.01 MB / 0.4991 GB, free: 15.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.315, allocations: 20 kB / 0.4991 GB, free: 15.58 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_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_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches