Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.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.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestVectors",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.01093/0.01094, allocations: 110.4 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.00118/0.00118, allocations: 186.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 2.089/2.089, allocations: 194.6 MB / 211.3 MB, free: 11 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.3259/0.3259, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005537, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.148, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001879/0.15, allocations: 224.4 kB / 416.2 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.1546, allocations: 1.886 MB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.1546, allocations: 0 / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.1547, allocations: 0 / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.1547, allocations: 0 / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00998/0.1647, allocations: 0.5687 MB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.101e-05/0.1647, allocations: 3.938 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1648, allocations: 0 / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.1648, allocations: 8 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.156e-05/0.1649, allocations: 3.984 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.1649, allocations: 0 / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1668, allocations: 0.589 MB / 419.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1668, allocations: 7.922 kB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1668, allocations: 25.7 kB / 419.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009905/0.1678, allocations: 403.3 kB / 419.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1679, allocations: 0 / 419.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1679, allocations: 4 kB / 419.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1679, allocations: 0 / 419.7 MB, free: 14.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006096/0.1685, allocations: 397.1 kB / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.1686, allocations: 8.031 kB / 420.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.1686, allocations: 38.44 kB / 420.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005132/0.1738, allocations: 0 / 420.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.174, allocations: 163 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.174, allocations: 3.984 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.174, allocations: 4 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.1741, allocations: 33.64 kB / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1741, allocations: 0 / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1742, allocations: 0 / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1742, allocations: 0 / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.1742, allocations: 4 kB / 420.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.1744, allocations: 141.7 kB / 420.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.1745, allocations: 30.55 kB / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.1745, allocations: 0 / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.1746, allocations: 60.27 kB / 420.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.983e-06/0.1746, allocations: 0 / 420.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002184/0.1749, allocations: 63.41 kB / 420.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1749, allocations: 77.11 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.175, allocations: 97.84 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.175, allocations: 25.7 kB / 420.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.1751, allocations: 80.14 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1752, allocations: 12.03 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1752, allocations: 0 / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1753, allocations: 310.8 kB / 421.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.1754, allocations: 0 / 421.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-06/0.1754, allocations: 0 / 421.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.1754, allocations: 29.7 kB / 421.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1755, allocations: 0 / 421.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001303/0.1756, allocations: 71.28 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.1757, allocations: 33.7 kB / 421.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1757, allocations: 4.094 kB / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1757, allocations: 0 / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-06/0.1757, allocations: 0 / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1757, allocations: 0 / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.1758, allocations: 0 / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1758, allocations: 4 kB / 421.4 MB, free: 12.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001304/0.1759, allocations: 131.5 kB / 421.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.176, allocations: 7.891 kB / 421.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.176, allocations: 11.11 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.176, allocations: 4 kB / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.176, allocations: 0 / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1761, allocations: 0 / 421.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1762, allocations: 145.7 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1762, allocations: 3.938 kB / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.1762, allocations: 0 / 421.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1763, allocations: 4 kB / 421.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1763, allocations: 7.953 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1763, allocations: 3.984 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1763, allocations: 3.984 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1765, allocations: 94.78 kB / 421.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.1766, allocations: 77.11 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1766, allocations: 7.984 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.1766, allocations: 3.953 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002951/0.1796, allocations: 0 / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1796, allocations: 4 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.847e-05/0.1797, allocations: 75.28 kB / 422 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1797, allocations: 4.031 kB / 422 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009857/0.1807, allocations: 124 kB / 422.1 MB, free: 12.09 MB / 362.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001713/0.1824, allocations: 0.7803 MB / 422.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.1826, allocations: 75.33 kB / 422.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1826, allocations: 0 / 422.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.1827, allocations: 51.41 kB / 423 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.1829, allocations: 7.953 kB / 423 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.1835, allocations: 140.4 kB / 423.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1839, allocations: 0.6731 MB / 423.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.179e-05/0.1839, allocations: 3.984 kB / 423.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.1839, allocations: 7.438 kB / 423.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.184, allocations: 0 / 423.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.2176, allocations: 4.514 MB / 428.3 MB, free: 5.777 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/0.218, allocations: 197.7 kB / 428.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/2.932, allocations: 3.938 kB / 428.5 MB, free: 5.539 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors_res.mat does not exist to compare? outputFormat=mat