Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sources",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.0161/0.01611, allocations: 108.6 kB / 15.06 MB, free: 6.035 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.001705/0.001705, allocations: 184.4 kB / 15.95 MB, free: 5.965 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.055/2.055, 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.2839/0.2839, allocations: 40.04 MB / 296.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004695, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 54.89 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003645/0.1232, allocations: 2.076 MB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1251, allocations: 0.7416 MB / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.1254, allocations: 11.94 kB / 418.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1257, allocations: 51.61 kB / 418.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.1262, allocations: 91.73 kB / 419 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1266, allocations: 87.89 kB / 419.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.1273, allocations: 263.3 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.1277, allocations: 115.3 kB / 419.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.1281, allocations: 131.5 kB / 419.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.1283, allocations: 143.3 kB / 419.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.1284, allocations: 16 kB / 419.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.1285, allocations: 20 kB / 419.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.1286, allocations: 51.77 kB / 419.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1287, allocations: 93.52 kB / 419.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.1291, allocations: 307.3 kB / 420.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1292, allocations: 0 / 420.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.871e-06/0.1292, allocations: 0 / 420.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1292, allocations: 7.875 kB / 420.2 MB, free: 14.34 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001453/0.1307, allocations: 0.616 MB / 420.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1307, allocations: 8.031 kB / 420.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.1308, allocations: 70.53 kB / 420.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.939e-05/0.1309, allocations: 39.53 kB / 420.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.1314, allocations: 263.5 kB / 421.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.1314, allocations: 29 kB / 421.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.1315, allocations: 39.95 kB / 421.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.1325, allocations: 362.7 kB / 421.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1326, allocations: 3.938 kB / 421.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.1326, allocations: 16 kB / 421.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1327, allocations: 8 kB / 421.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.1338, allocations: 277 kB / 421.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.137, allocations: 1.367 MB / 423.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007872/0.1379, allocations: 206.5 kB / 423.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.138, allocations: 7.984 kB / 423.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.138, allocations: 46.8 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/0.138, allocations: 0 / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001338/0.1394, allocations: 281.2 kB / 423.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.1395, allocations: 136.5 kB / 423.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.14, allocations: 324.4 kB / 424.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.14, allocations: 25.7 kB / 424.3 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.1402, allocations: 235.6 kB / 424.5 MB, free: 9.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.1403, allocations: 55.2 kB / 424.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.1403, allocations: 4 kB / 424.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1405, allocations: 338.8 kB / 424.9 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.1409, allocations: 92.5 kB / 425 MB, free: 9.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.1415, allocations: 184.1 kB / 425.2 MB, free: 9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.142, allocations: 115.9 kB / 425.3 MB, free: 8.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.142, allocations: 4 kB / 425.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001172/0.1432, allocations: 313 kB / 425.6 MB, free: 8.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.1433, allocations: 11.94 kB / 425.6 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.1433, allocations: 11.94 kB / 425.6 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1433, allocations: 4 kB / 425.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.1441, allocations: 104.6 kB / 425.7 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.1441, allocations: 11.92 kB / 425.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.1446, allocations: 47.67 kB / 425.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.1447, allocations: 12 kB / 425.8 MB, free: 8.371 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.1449, allocations: 153.7 kB / 425.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.1451, allocations: 27.62 kB / 426 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.1452, allocations: 34.41 kB / 426 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.1452, allocations: 11.94 kB / 426 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.1452, allocations: 4 kB / 426 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1452, allocations: 0 / 426 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1464, allocations: 0.5876 MB / 426.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1464, allocations: 0 / 426.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.147, allocations: 76.03 kB / 426.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.147, allocations: 4 kB / 426.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.147, allocations: 4 kB / 426.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.147, allocations: 4 kB / 426.7 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.1471, allocations: 4 kB / 426.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1481, allocations: 488.8 kB / 427.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1482, allocations: 108.7 kB / 427.3 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.1483, allocations: 7.984 kB / 427.3 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.1487, allocations: 19.98 kB / 427.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.1488, allocations: 11.98 kB / 427.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1488, allocations: 8 kB / 427.3 MB, free: 6.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003748/0.1492, allocations: 223.1 kB / 427.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1492, allocations: 4 kB / 427.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.1498, allocations: 71.78 kB / 427.6 MB, free: 6.371 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/0.1514, allocations: 1.435 MB / 429.1 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.1524, allocations: 212.1 kB / 429.3 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1524, allocations: 0 / 429.3 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.1529, allocations: 96.2 kB / 429.4 MB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.1533, allocations: 33.31 kB / 429.4 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.1584, allocations: 3.551 MB / 432.9 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1588, allocations: 0.7791 MB / 433.7 MB, free: 60 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.1591, allocations: 29.92 kB / 433.7 MB, free: 28 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.1593, allocations: 95.48 kB / 433.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.163e-06/0.1593, allocations: 0 / 433.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.1912, allocations: 4.314 MB / 438.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/0.1915, allocations: 160.5 kB / 438.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/2.731, allocations: 7.938 kB / 438.3 MB, free: 11.45 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat