Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Force",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.0108/0.01081, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001243/0.001243, allocations: 181.4 kB / 15.95 MB, free: 5.52 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 1.939/1.939, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.3331/0.3331, allocations: 40.03 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000642/0.0006422, allocations: 8 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.115, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003988/0.1191, allocations: 2.368 MB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1209, allocations: 0.7378 MB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1213, allocations: 8 kB / 419.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1214, allocations: 39.69 kB / 419.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.1218, allocations: 115.6 kB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1222, allocations: 87.88 kB / 419.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.1228, allocations: 299.8 kB / 419.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.1231, allocations: 122.8 kB / 419.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.1234, allocations: 155.5 kB / 419.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.1238, allocations: 175.2 kB / 420.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.1238, allocations: 20 kB / 420.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.1239, allocations: 20 kB / 420.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.124, allocations: 67.72 kB / 420.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1242, allocations: 93.52 kB / 420.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.1246, allocations: 334.8 kB / 420.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1247, allocations: 4 kB / 420.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1247, allocations: 3.938 kB / 420.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1247, allocations: 0 / 420.6 MB, free: 13.89 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001989/0.1267, allocations: 0.6395 MB / 421.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1268, allocations: 15.97 kB / 421.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.1269, allocations: 78.52 kB / 421.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.127, allocations: 43.48 kB / 421.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.1275, allocations: 278.4 kB / 421.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.1276, allocations: 33 kB / 421.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.1277, allocations: 36 kB / 421.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.1287, allocations: 338.5 kB / 422.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.1288, allocations: 3.984 kB / 422.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.1289, allocations: 19.94 kB / 422.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.1289, allocations: 8 kB / 422.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.13, allocations: 311.8 kB / 422.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/0.1336, allocations: 1.349 MB / 423.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.1345, allocations: 276.9 kB / 424 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.1345, allocations: 4.281 kB / 424 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1346, allocations: 38.83 kB / 424.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.256e-06/0.1346, allocations: 0 / 424.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001407/0.136, allocations: 399 kB / 424.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1361, allocations: 63.28 kB / 424.5 MB, free: 9.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.1365, allocations: 254.7 kB / 424.8 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.1366, allocations: 33.7 kB / 424.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1368, allocations: 203.9 kB / 425 MB, free: 9.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1369, allocations: 122.3 kB / 425.1 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1369, allocations: 12 kB / 425.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1371, allocations: 338.8 kB / 425.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.1376, allocations: 112.8 kB / 425.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.1381, allocations: 175.5 kB / 425.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.1386, allocations: 121.6 kB / 425.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1386, allocations: 7.938 kB / 425.9 MB, free: 8.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001196/0.1398, allocations: 371.1 kB / 426.2 MB, free: 7.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.1398, allocations: 8 kB / 426.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1399, allocations: 0 / 426.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.1399, allocations: 4 kB / 426.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/0.1408, allocations: 115.8 kB / 426.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.1409, allocations: 4 kB / 426.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.1414, allocations: 51.52 kB / 426.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.1414, allocations: 16 kB / 426.4 MB, free: 7.785 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0002369/0.1417, allocations: 153.7 kB / 426.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.1418, allocations: 23.72 kB / 426.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.1429, allocations: 344.1 kB / 427 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1429, allocations: 7.984 kB / 427 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.143, allocations: 0 / 427 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.143, allocations: 0 / 427 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.1437, allocations: 397.2 kB / 427.3 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1437, allocations: 3.984 kB / 427.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.1445, allocations: 83.88 kB / 427.4 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.1445, allocations: 3.938 kB / 427.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.1446, allocations: 15.98 kB / 427.5 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1446, allocations: 0 / 427.5 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.1446, allocations: 3.984 kB / 427.5 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.1461, allocations: 0.5377 MB / 428 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.1464, allocations: 128.6 kB / 428.1 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.1465, allocations: 4 kB / 428.1 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.1469, allocations: 15.98 kB / 428.1 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.147, allocations: 19.97 kB / 428.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.147, allocations: 12 kB / 428.2 MB, free: 5.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003002/0.1474, allocations: 198 kB / 428.4 MB, free: 5.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1474, allocations: 0 / 428.4 MB, free: 5.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005365/0.1479, allocations: 83.84 kB / 428.4 MB, free: 5.684 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.001844/0.1498, allocations: 1.079 MB / 429.5 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1508, allocations: 283.9 kB / 429.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1508, allocations: 0 / 429.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.1513, allocations: 147.7 kB / 429.9 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1517, allocations: 28.44 kB / 430 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.1572, allocations: 3.079 MB / 433.1 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.1577, allocations: 0.7913 MB / 433.8 MB, free: 156 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000754/0.1585, allocations: 42.94 kB / 433.9 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007878/0.1593, allocations: 107.4 kB / 434 MB, free: 4 kB / 362.7 MB Notification: Performance of SimCode: time 2.174e-06/0.1593, allocations: 0 / 434 MB, free: 4 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.1955, allocations: 5.159 MB / 439.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.1958, allocations: 166.3 kB / 439.3 MB, free: 10.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/2.8, allocations: 0 / 439.3 MB, free: 10.69 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat