Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_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.001471/0.001471, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001523/0.001523, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1966/0.1966, allocations: 44.19 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 69.52 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1116, allocations: 60.82 MB / 469.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001693/0.1133, allocations: 0.5307 MB / 469.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.1141, allocations: 413.2 kB / 470.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1141, allocations: 0 / 470.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.1141, allocations: 0 / 470.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.127e-05/0.1142, allocations: 3.938 kB / 470.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.1146, allocations: 139.6 kB / 470.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.397e-05/0.1147, allocations: 23.98 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1148, allocations: 7.984 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.1148, allocations: 15.92 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.1148, allocations: 19.92 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1149, allocations: 4 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.1151, allocations: 159.8 kB / 470.7 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1151, allocations: 11.92 kB / 470.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.1152, allocations: 23.92 kB / 470.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1154, allocations: 131.9 kB / 470.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1154, allocations: 0 / 470.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1154, allocations: 0 / 470.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.1154, allocations: 0 / 470.8 MB, free: 12.84 MB / 350.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.000412/0.1158, allocations: 355.6 kB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1159, allocations: 12.02 kB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.1159, allocations: 38.69 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.116, allocations: 8.844 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1161, allocations: 164.3 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1161, allocations: 12.38 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1161, allocations: 4.375 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1163, allocations: 73.97 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1163, allocations: 7.906 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1163, allocations: 3.984 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1163, allocations: 0 / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.1164, allocations: 51.89 kB / 471.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.1166, allocations: 165.7 kB / 471.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1168, allocations: 86.55 kB / 471.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.1168, allocations: 36.72 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.1171, allocations: 105.1 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1171, allocations: 38.5 kB / 472 MB, free: 11.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.1171, allocations: 0 / 472 MB, free: 11.51 MB / 350.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.1337/0.2508, allocations: 5.629 MB / 477.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.2509, allocations: 55.39 kB / 477.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/0.251, allocations: 97.86 kB / 477.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.251, allocations: 25.7 kB / 477.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.2511, allocations: 88.64 kB / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.2512, allocations: 70.91 kB / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2513, allocations: 61.67 kB / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2514, allocations: 322.8 kB / 478.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.2518, allocations: 111.9 kB / 478.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.2521, allocations: 111.9 kB / 478.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.2535, allocations: 324.6 kB / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2535, allocations: 0 / 478.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001236/0.2547, allocations: 358.7 kB / 479.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2547, allocations: 8 kB / 479.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2548, allocations: 0 / 479.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2548, allocations: 3.938 kB / 479.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.2552, allocations: 79.91 kB / 479.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2552, allocations: 0 / 479.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.2554, allocations: 31.91 kB / 479.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.2555, allocations: 15.98 kB / 479.3 MB, free: 4.059 MB / 350.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.0001038/0.2556, allocations: 121.8 kB / 479.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2556, allocations: 7.906 kB / 479.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.257, allocations: 432.7 kB / 479.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.257, allocations: 4 kB / 479.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.257, allocations: 0 / 479.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.257, allocations: 11.86 kB / 479.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.2591, allocations: 0.7783 MB / 480.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2591, allocations: 0 / 480.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.2594, allocations: 71.92 kB / 480.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2594, allocations: 4 kB / 480.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2595, allocations: 12 kB / 480.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2595, allocations: 3.984 kB / 480.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2595, allocations: 3.938 kB / 480.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2606, allocations: 424.8 kB / 481.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2606, allocations: 85.02 kB / 481.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.2607, allocations: 7.984 kB / 481.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2609, allocations: 23.97 kB / 481.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.2609, allocations: 15.98 kB / 481.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2609, allocations: 15.98 kB / 481.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.402e-05/0.261, allocations: 83.22 kB / 481.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.261, allocations: 0 / 481.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001566/0.2625, allocations: 0.625 MB / 482 MB, free: 1.234 MB / 350.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.004187/0.2667, allocations: 1.143 MB / 483.2 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.2676, allocations: 273.9 kB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2676, allocations: 0 / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.2679, allocations: 137.3 kB / 483.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.2682, allocations: 8 kB / 483.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.2698, allocations: 428.9 kB / 484 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2702, allocations: 0.697 MB / 484.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002983/0.2705, allocations: 77.08 kB / 484.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.2706, allocations: 59.39 kB / 484.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2706, allocations: 4 kB / 484.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4694/0.74, allocations: 55.01 MB / 0.5272 GB, free: 34.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.538, allocations: 9.203 kB / 0.5272 GB, free: 34.53 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches