Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 77.17 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001871/0.1083, allocations: 0.5255 MB / 480.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.1091, allocations: 413.5 kB / 481.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.1091, allocations: 4 kB / 481.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.1092, allocations: 3.938 kB / 481.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.692e-05/0.1092, allocations: 0 / 481.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.1098, allocations: 143.5 kB / 481.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.643e-05/0.1099, allocations: 27.92 kB / 481.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.11, allocations: 4 kB / 481.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.11, allocations: 19.97 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.1101, allocations: 23.86 kB / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1101, allocations: 4 kB / 481.3 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.1104, allocations: 159.8 kB / 481.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.1105, allocations: 8 kB / 481.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.1105, allocations: 27.84 kB / 481.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.1108, allocations: 120 kB / 481.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1108, allocations: 3.984 kB / 481.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1108, allocations: 3.938 kB / 481.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1108, allocations: 0 / 481.6 MB, free: 3.684 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.000468/0.1113, allocations: 363.6 kB / 482 MB, free: 3.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1114, allocations: 8.031 kB / 482 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1114, allocations: 38.75 kB / 482 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.1114, allocations: 4.844 kB / 482 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1116, allocations: 168.3 kB / 482.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1116, allocations: 8.312 kB / 482.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1116, allocations: 4.375 kB / 482.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1118, allocations: 81.47 kB / 482.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1118, allocations: 3.906 kB / 482.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1118, allocations: 4 kB / 482.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1118, allocations: 4 kB / 482.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.1119, allocations: 43.95 kB / 482.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.1121, allocations: 165.7 kB / 482.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1122, allocations: 90.42 kB / 482.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.1123, allocations: 28.84 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.1126, allocations: 105.1 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.1126, allocations: 42.5 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1126, allocations: 0 / 482.7 MB, free: 2.359 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.1389/0.2516, allocations: 5.621 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2517, allocations: 55.41 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.2517, allocations: 93.86 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2518, allocations: 25.7 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.2518, allocations: 80.52 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.2519, allocations: 74.91 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.252, allocations: 61.67 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2521, allocations: 322.9 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.2525, allocations: 111.9 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.2528, allocations: 115.9 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.2543, allocations: 327.4 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2543, allocations: 4 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001215/0.2555, allocations: 353.2 kB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2555, allocations: 8 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.2556, allocations: 4 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2556, allocations: 0 / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.256, allocations: 83.84 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.256, allocations: 0 / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2562, allocations: 27.91 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.2562, allocations: 15.98 kB / 490.1 MB, free: 10.92 MB / 366.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.0001241/0.2564, allocations: 121.8 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.2564, allocations: 7.906 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.2578, allocations: 433 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2579, allocations: 4 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2579, allocations: 0 / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2579, allocations: 7.922 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.2601, allocations: 0.7872 MB / 491.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2601, allocations: 0 / 491.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.2605, allocations: 79.92 kB / 491.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.2605, allocations: 4 kB / 491.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.2605, allocations: 15.98 kB / 491.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.2605, allocations: 0 / 491.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2605, allocations: 0 / 491.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2617, allocations: 424.7 kB / 491.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.2618, allocations: 89 kB / 492 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.2618, allocations: 8 kB / 492 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.262, allocations: 23.97 kB / 492.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.262, allocations: 15.98 kB / 492.1 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.2621, allocations: 15.98 kB / 492.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.118e-05/0.2621, allocations: 79.22 kB / 492.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2621, allocations: 3.938 kB / 492.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001816/0.2639, allocations: 0.625 MB / 492.8 MB, free: 8.082 MB / 366.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.004796/0.2687, allocations: 1.135 MB / 493.9 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000863/0.2696, allocations: 273 kB / 494.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2696, allocations: 0 / 494.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.27, allocations: 132 kB / 494.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.2703, allocations: 10.58 kB / 494.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.2723, allocations: 432.7 kB / 494.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2726, allocations: 0.6931 MB / 495.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003277/0.273, allocations: 81.08 kB / 495.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.2731, allocations: 55.39 kB / 495.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2731, allocations: 0 / 495.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2421/0.5153, allocations: 55.02 MB / 0.5377 GB, free: 19.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.711, allocations: 6.75 kB / 0.5377 GB, free: 19.03 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches