Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.838/1.838, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003703, allocations: 12 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08653, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4342, allocations: 65.97 MB / 338.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4345, allocations: 69.58 kB / 338.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01208/0.4466, allocations: 2.843 MB / 341 MB, free: 4.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4467, allocations: 4 kB / 341 MB, free: 4.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4467, allocations: 4 kB / 341 MB, free: 4.727 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007092/0.4474, allocations: 441.3 kB / 341.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4475, allocations: 12.03 kB / 341.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/0.4476, allocations: 50.05 kB / 341.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.4476, allocations: 23.72 kB / 341.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4479, allocations: 202.5 kB / 341.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.4479, allocations: 17.3 kB / 341.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.448, allocations: 32.97 kB / 341.8 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.4484, allocations: 175.2 kB / 341.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.4485, allocations: 4 kB / 342 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.4485, allocations: 5.375 kB / 342 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4485, allocations: 4 kB / 342 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.4488, allocations: 100.8 kB / 342.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.4505, allocations: 0.7846 MB / 342.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.4508, allocations: 115.4 kB / 343 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4508, allocations: 3.938 kB / 343 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4508, allocations: 38 kB / 343 MB, free: 2.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.945e-06/0.4509, allocations: 4 kB / 343 MB, free: 2.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004353/0.4513, allocations: 131.4 kB / 343.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.4514, allocations: 102.8 kB / 343.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.4516, allocations: 192.2 kB / 343.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.4517, allocations: 29.39 kB / 343.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4518, allocations: 138 kB / 343.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.4519, allocations: 54.95 kB / 343.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.4519, allocations: 3.938 kB / 343.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.452, allocations: 332.8 kB / 344 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4522, allocations: 43.56 kB / 344 MB, free: 1.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.4523, allocations: 118.8 kB / 344.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.4525, allocations: 66.53 kB / 344.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4525, allocations: 8 kB / 344.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000456/0.453, allocations: 204.1 kB / 344.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.453, allocations: 8.625 kB / 344.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.453, allocations: 0 / 344.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4531, allocations: 8 kB / 344.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.4534, allocations: 47.33 kB / 344.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.4534, allocations: 11.94 kB / 344.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.4536, allocations: 31.03 kB / 344.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.4537, allocations: 8 kB / 344.5 MB, free: 1.324 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0001525/0.4538, allocations: 143.7 kB / 344.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.4539, allocations: 15.81 kB / 344.7 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.454, allocations: 16.19 kB / 344.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.454, allocations: 4 kB / 344.7 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4541, allocations: 7.984 kB / 344.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4541, allocations: 0 / 344.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.4547, allocations: 255.3 kB / 344.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4548, allocations: 0 / 344.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.4551, allocations: 35.92 kB / 345 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4551, allocations: 0 / 345 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.4551, allocations: 4 kB / 345 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.4551, allocations: 0 / 345 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4551, allocations: 0 / 345 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.4556, allocations: 427.9 kB / 345.4 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.4558, allocations: 96.66 kB / 345.5 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.4558, allocations: 4 kB / 345.5 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.456, allocations: 0 / 345.5 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.4561, allocations: 19.69 kB / 345.5 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4561, allocations: 4 kB / 345.5 MB, free: 304 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.4563, allocations: 159.8 kB / 345.7 MB, free: 168 kB / 266.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4563, allocations: 0 / 345.7 MB, free: 168 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004964/0.4568, allocations: 43.31 kB / 345.7 MB, free: 128 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (13): * Single equations (assignments): 13 * 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.0009425/0.4578, allocations: 1.091 MB / 346.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.4581, allocations: 113.9 kB / 346.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4582, allocations: 0 / 346.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.4583, allocations: 37.92 kB / 347 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.4588, allocations: 31.42 kB / 347 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.4627, allocations: 3.424 MB / 350.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.4632, allocations: 0.7323 MB / 351.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.4634, allocations: 13.55 kB / 351.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4635, allocations: 54.42 kB / 351.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4635, allocations: 0 / 351.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.4873, allocations: 3.208 MB / 354.4 MB, free: 7.566 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/0.4877, allocations: 187.4 kB / 354.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.033, allocations: 0 / 354.6 MB, free: 7.328 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat