Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",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.00138/0.00138, allocations: 104 kB / 16.27 MB, free: 6.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.001553/0.001553, allocations: 191.6 kB / 17.2 MB, free: 5.945 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.49/1.49, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2185/0.2185, allocations: 43.53 MB / 313.9 MB, free: 0.5391 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.001881/0.001881, allocations: 67.72 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1355, allocations: 57.78 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003392/0.1389, allocations: 2.298 MB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1401, allocations: 0.6476 MB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.1403, allocations: 4 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.1405, allocations: 39.59 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1407, allocations: 71.33 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.141, allocations: 95.81 kB / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.1414, allocations: 347.2 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1417, allocations: 155.7 kB / 444.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.1419, allocations: 139.5 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1421, allocations: 155.4 kB / 444.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.1422, allocations: 35.94 kB / 444.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-05/0.1422, allocations: 32 kB / 444.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1423, allocations: 71.81 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1424, allocations: 159.2 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1427, allocations: 374.7 kB / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1427, allocations: 0 / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1427, allocations: 4 kB / 445.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1428, allocations: 0 / 445.2 MB, free: 2.203 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008854/0.1436, allocations: 0.5811 MB / 445.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1437, allocations: 15.89 kB / 445.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.1438, allocations: 66.72 kB / 445.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1438, allocations: 28.66 kB / 445.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.144, allocations: 211.8 kB / 446.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.1441, allocations: 29.16 kB / 446.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1441, allocations: 32.38 kB / 446.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1445, allocations: 282 kB / 446.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1446, allocations: 0 / 446.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1446, allocations: 12 kB / 446.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1446, allocations: 12 kB / 446.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.1449, allocations: 214.5 kB / 446.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1467, allocations: 1.024 MB / 447.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.1467, allocations: 30.58 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.1468, allocations: 24.92 kB / 447.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.1468, allocations: 0 / 447.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1469, allocations: 34.5 kB / 447.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1469, allocations: 0 / 447.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002325/0.1471, allocations: 77.34 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1472, allocations: 63.53 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.1476, allocations: 318.8 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1476, allocations: 29.7 kB / 448.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1478, allocations: 234.7 kB / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.1478, allocations: 3.906 kB / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.1479, allocations: 61.59 kB / 448.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.148, allocations: 326.8 kB / 448.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1482, allocations: 67.97 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1483, allocations: 97.67 kB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.1485, allocations: 123.4 kB / 449.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1485, allocations: 0 / 449.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004054/0.149, allocations: 229.5 kB / 449.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.149, allocations: 7.938 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.149, allocations: 0 / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.149, allocations: 4 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.1493, allocations: 59.94 kB / 449.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1493, allocations: 0 / 449.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.1496, allocations: 43.52 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1496, allocations: 11.94 kB / 449.5 MB, free: 13.65 MB / 334.1 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 (30): * Single equations (assignments): 30 * 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.0001359/0.1498, allocations: 133.7 kB / 449.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.1498, allocations: 27.66 kB / 449.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.1499, allocations: 24.89 kB / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1499, allocations: 0 / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1499, allocations: 4 kB / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1499, allocations: 0 / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.1505, allocations: 0.5149 MB / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1506, allocations: 0 / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.1506, allocations: 4 kB / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1506, allocations: 0 / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1506, allocations: 0 / 450.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1506, allocations: 4 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1506, allocations: 4.062 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1508, allocations: 101.6 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.1509, allocations: 104.8 kB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.1509, allocations: 4 kB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.151, allocations: 0 / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.151, allocations: 7.984 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1511, allocations: 4.031 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.1513, allocations: 225.9 kB / 450.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1513, allocations: 0 / 450.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1516, allocations: 63.84 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004166/0.152, allocations: 0.6326 MB / 451.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.1523, allocations: 111.9 kB / 451.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1523, allocations: 0 / 451.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.1524, allocations: 11.98 kB / 451.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.1526, allocations: 22.14 kB / 451.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.1554, allocations: 2.249 MB / 453.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1558, allocations: 0.7401 MB / 454.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1559, allocations: 29.88 kB / 454.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.156, allocations: 71.42 kB / 454.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.156, allocations: 0 / 454.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1822, allocations: 4.053 MB / 458.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.753, allocations: 1.5 kB / 458.6 MB, free: 4.27 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches