Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",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.001199/0.001199, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001015/0.001015, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.606/1.606, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2289/0.2289, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.002286/0.002287, allocations: 72.66 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1478, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004014/0.1519, allocations: 2.386 MB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1533, allocations: 0.8112 MB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.1534, allocations: 4 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1537, allocations: 51.52 kB / 443.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1539, allocations: 107.2 kB / 444 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1542, allocations: 103.8 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.1545, allocations: 338.8 kB / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.1548, allocations: 104.6 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.155, allocations: 135.6 kB / 444.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1551, allocations: 151.4 kB / 444.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.1552, allocations: 28 kB / 444.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.1552, allocations: 32 kB / 444.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.1553, allocations: 67.69 kB / 444.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1554, allocations: 159.1 kB / 445.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.1558, allocations: 350.8 kB / 445.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1558, allocations: 3.938 kB / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1558, allocations: 0 / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1558, allocations: 0 / 445.4 MB, free: 1.984 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009909/0.1568, allocations: 0.6081 MB / 446 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1569, allocations: 15.89 kB / 446 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.411e-05/0.1569, allocations: 62.72 kB / 446.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.157, allocations: 32.56 kB / 446.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1572, allocations: 263.6 kB / 446.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1573, allocations: 16.94 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1573, allocations: 24.38 kB / 446.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.1577, allocations: 248.9 kB / 446.7 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1578, allocations: 4 kB / 446.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.1578, allocations: 8 kB / 446.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1578, allocations: 8 kB / 446.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.1582, allocations: 230.1 kB / 446.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.1597, allocations: 0.8637 MB / 447.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.1603, allocations: 313.2 kB / 448.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.1606, allocations: 156.8 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.1607, allocations: 7.984 kB / 448.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.1607, allocations: 38.56 kB / 448.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.1607, allocations: 0 / 448.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.004604/0.1654, allocations: 1.254 MB / 449.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.1654, allocations: 55.41 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1657, allocations: 213 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.1658, allocations: 33.64 kB / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.166, allocations: 165 kB / 450 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.883e-05/0.1661, allocations: 102.5 kB / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1662, allocations: 57.7 kB / 450.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1664, allocations: 330.8 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.1667, allocations: 95.95 kB / 450.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.167, allocations: 117.9 kB / 450.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.1675, allocations: 235.2 kB / 450.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1675, allocations: 0 / 450.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001843/0.1694, allocations: 0.5363 MB / 451.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.1694, allocations: 8 kB / 451.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1694, allocations: 0 / 451.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.1712, allocations: 307.1 kB / 451.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1714, allocations: 27.92 kB / 451.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/0.1798, allocations: 6.828 MB / 458.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.1801, allocations: 35.7 kB / 458.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.1802, allocations: 8 kB / 458.7 MB, free: 3.809 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.1804, allocations: 149.8 kB / 458.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.1805, allocations: 23.72 kB / 458.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.1823, allocations: 0.5473 MB / 459.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1823, allocations: 8 kB / 459.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1823, allocations: 3.938 kB / 459.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1823, allocations: 0 / 459.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.1828, allocations: 353.3 kB / 459.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1828, allocations: 0 / 459.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1829, allocations: 19.98 kB / 459.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.1844, allocations: 315.1 kB / 460.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1844, allocations: 7.984 kB / 460.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/0.192, allocations: 6.905 MB / 467 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1921, allocations: 0 / 467 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.194, allocations: 0.6115 MB / 467.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1941, allocations: 104.7 kB / 467.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.1942, allocations: 15.94 kB / 467.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1944, allocations: 11.98 kB / 467.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.1945, allocations: 27.95 kB / 467.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.1946, allocations: 15.94 kB / 467.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.1948, allocations: 156.5 kB / 467.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1948, allocations: 0 / 467.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005964/0.1954, allocations: 119.8 kB / 468 MB, free: 9.746 MB / 350.1 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002164/0.1976, allocations: 1.161 MB / 469.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1988, allocations: 0.768 MB / 470 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1988, allocations: 0 / 470 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.2001, allocations: 0.7328 MB / 470.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.2004, allocations: 24.44 kB / 470.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.2067, allocations: 3.067 MB / 473.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.2073, allocations: 0.7755 MB / 474.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.165e-05/0.2074, allocations: 13.95 kB / 474.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.2075, allocations: 79.41 kB / 474.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2075, allocations: 0 / 474.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/0.2628, allocations: 10.58 MB / 485.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.82, allocations: 19.73 kB / 485.2 MB, free: 8.258 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_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_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches