Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01096/0.01096, allocations: 108.1 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001253/0.001254, allocations: 186.2 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.068/2.068, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2648/0.2648, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004507, allocations: 8 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 54.87 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003382/0.1215, allocations: 1.916 MB / 417.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1234, allocations: 0.7534 MB / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.1237, allocations: 4 kB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1239, allocations: 39.7 kB / 418.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.1243, allocations: 91.75 kB / 418.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1246, allocations: 71.84 kB / 418.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.125, allocations: 215.6 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.1253, allocations: 73.11 kB / 419.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1256, allocations: 123.5 kB / 419.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1258, allocations: 131.4 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.1259, allocations: 16 kB / 419.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.126, allocations: 16 kB / 419.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.1261, allocations: 47.77 kB / 419.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.1262, allocations: 77.58 kB / 419.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.1266, allocations: 263.5 kB / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1266, allocations: 0 / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1266, allocations: 0 / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1266, allocations: 0 / 419.8 MB, free: 14.73 MB / 362.7 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.001472/0.1281, allocations: 0.5728 MB / 420.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1282, allocations: 12.03 kB / 420.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1283, allocations: 58.55 kB / 420.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.1284, allocations: 31.62 kB / 420.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.1288, allocations: 254.5 kB / 420.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.1288, allocations: 16.56 kB / 420.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.1289, allocations: 27.95 kB / 420.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.1298, allocations: 248.8 kB / 421 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1298, allocations: 3.938 kB / 421 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.1298, allocations: 8 kB / 421.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.1299, allocations: 8 kB / 421.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.1308, allocations: 246.1 kB / 421.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.133, allocations: 0.8831 MB / 422.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.1344, allocations: 342.8 kB / 422.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.1345, allocations: 0 / 422.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1345, allocations: 38.56 kB / 422.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.1345, allocations: 0 / 422.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.008309/0.1428, allocations: 1.259 MB / 423.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.143, allocations: 59.36 kB / 423.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1433, allocations: 213 kB / 424.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.1434, allocations: 33.7 kB / 424.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1436, allocations: 157.1 kB / 424.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1437, allocations: 106.5 kB / 424.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.1438, allocations: 4 kB / 424.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1439, allocations: 338.8 kB / 424.7 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.1444, allocations: 103.9 kB / 424.8 MB, free: 9.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.1448, allocations: 125.8 kB / 424.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.1452, allocations: 113.3 kB / 425 MB, free: 9.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1452, allocations: 0 / 425 MB, free: 9.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00321/0.1485, allocations: 0.5445 MB / 425.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1485, allocations: 4 kB / 425.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1486, allocations: 0 / 425.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.1516, allocations: 315.1 kB / 425.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.1519, allocations: 31.92 kB / 425.9 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.1637, allocations: 6.407 MB / 432.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.1641, allocations: 31.89 kB / 432.4 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.1642, allocations: 12 kB / 432.4 MB, free: 1.277 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.1644, allocations: 133.8 kB / 432.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.1645, allocations: 27.67 kB / 432.5 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.1677, allocations: 0.5579 MB / 433.1 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.1678, allocations: 7.984 kB / 433.1 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1678, allocations: 4 kB / 433.1 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1678, allocations: 4 kB / 433.1 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.1685, allocations: 357.2 kB / 433.5 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1686, allocations: 0 / 433.5 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.1688, allocations: 23.92 kB / 433.5 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.1716, allocations: 323.2 kB / 433.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.1717, allocations: 4 kB / 433.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.1832, allocations: 6.456 MB / 440.3 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1833, allocations: 0 / 440.3 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.1864, allocations: 0.6232 MB / 440.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1865, allocations: 104.8 kB / 441 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.1866, allocations: 8 kB / 441 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.1869, allocations: 12.61 kB / 441 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.1872, allocations: 35.94 kB / 441 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.1872, allocations: 8 kB / 441 MB, free: 7.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000263/0.1875, allocations: 160.5 kB / 441.2 MB, free: 7.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1875, allocations: 0 / 441.2 MB, free: 7.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001083/0.1886, allocations: 123.8 kB / 441.3 MB, free: 7.664 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00443/0.193, allocations: 1.168 MB / 442.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.1953, allocations: 0.7601 MB / 443.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1953, allocations: 4.062 kB / 443.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.198, allocations: 0.7133 MB / 444 MB, free: 4.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.1985, allocations: 24.36 kB / 444 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008296/0.2068, allocations: 1.94 MB / 445.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.2075, allocations: 0.7794 MB / 446.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.2077, allocations: 17.94 kB / 446.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.2079, allocations: 71.48 kB / 446.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.208, allocations: 0 / 446.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3616/0.5696, allocations: 9.616 MB / 456.4 MB, free: 56.87 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.5698, allocations: 203.9 kB / 456.6 MB, free: 56.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/3.495, allocations: 0 / 456.6 MB, free: 56.63 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat