Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.24/2.24, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005413, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.383, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.5237, allocations: 73.59 MB / 382.2 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.524, allocations: 67.97 kB / 382.2 MB, free: 2.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04156/0.5656, allocations: 9.104 MB / 391.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5656, allocations: 0 / 391.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.303e-05/0.5657, allocations: 16 kB / 391.3 MB, free: 9.746 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002285/0.568, allocations: 0.7603 MB / 392.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.5681, allocations: 12.03 kB / 392.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.5683, allocations: 82.53 kB / 392.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.5684, allocations: 59.3 kB / 392.3 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.569, allocations: 306.2 kB / 392.6 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.5691, allocations: 33 kB / 392.6 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.5693, allocations: 51.98 kB / 392.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.5709, allocations: 462.4 kB / 393.1 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.571, allocations: 3.906 kB / 393.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.571, allocations: 20 kB / 393.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.5711, allocations: 15.94 kB / 393.1 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.573, allocations: 499.6 kB / 393.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.577, allocations: 1.394 MB / 395 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.5788, allocations: 0.5444 MB / 395.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-05/0.579, allocations: 16.48 kB / 395.6 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.579, allocations: 39.12 kB / 395.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 3.867e-06/0.579, allocations: 0 / 395.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.01426/0.5933, allocations: 3.28 MB / 398.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.5934, allocations: 64.41 kB / 399 MB, free: 1.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.5938, allocations: 218.2 kB / 399.2 MB, free: 1.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-05/0.5939, allocations: 41.7 kB / 399.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5941, allocations: 200.9 kB / 399.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.5945, allocations: 342.9 kB / 399.7 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.5946, allocations: 20 kB / 399.8 MB, free: 1.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.5948, allocations: 362.8 kB / 400.1 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.596, allocations: 289.8 kB / 400.4 MB, free: 396 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.5971, allocations: 365.3 kB / 400.7 MB, free: 20 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.5984, allocations: 307 kB / 401 MB, free: 15.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.5984, allocations: 4 kB / 401.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002702/0.6011, allocations: 0.8132 MB / 401.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.6012, allocations: 4 kB / 401.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.6012, allocations: 0 / 401.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.6012, allocations: 4 kB / 401.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.6029, allocations: 219.7 kB / 402.1 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.6029, allocations: 15.92 kB / 402.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.6037, allocations: 59.95 kB / 402.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.6038, allocations: 28 kB / 402.2 MB, free: 14.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0004053/0.6042, allocations: 201.6 kB / 402.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.6043, allocations: 59.28 kB / 402.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.6046, allocations: 73.39 kB / 402.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.6046, allocations: 12 kB / 402.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.6046, allocations: 0 / 402.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.6047, allocations: 3.984 kB / 402.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.6101, allocations: 2.017 MB / 404.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.6101, allocations: 4 kB / 404.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.6119, allocations: 220.3 kB / 404.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/0.6119, allocations: 8 kB / 404.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.612, allocations: 31.94 kB / 404.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-05/0.6121, allocations: 8 kB / 404.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.6121, allocations: 7.938 kB / 404.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.6164, allocations: 1.634 MB / 406.5 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.6167, allocations: 132.4 kB / 406.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6168, allocations: 24 kB / 406.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007303/0.6176, allocations: 63.95 kB / 406.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6178, allocations: 72.81 kB / 406.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.6179, allocations: 31.98 kB / 406.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.6181, allocations: 178 kB / 406.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6182, allocations: 4 kB / 407 MB, free: 9.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008642/0.619, allocations: 156 kB / 407.1 MB, free: 9.324 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.005477/0.6245, allocations: 3.517 MB / 410.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002634/0.6272, allocations: 0.7544 MB / 411.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.6273, allocations: 0 / 411.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.6289, allocations: 462.7 kB / 411.8 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.63, allocations: 92.78 kB / 411.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.6405, allocations: 4.041 MB / 416 MB, free: 200 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2598/0.9004, allocations: 0.8774 MB / 416.8 MB, free: 96.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007082/0.9011, allocations: 71.92 kB / 416.9 MB, free: 96.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/0.9017, allocations: 198.6 kB / 417.1 MB, free: 96.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.9018, allocations: 0.5 kB / 417.1 MB, free: 96.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05086/0.9526, allocations: 10.41 MB / 427.5 MB, free: 93.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.953, allocations: 171.8 kB / 427.7 MB, free: 92.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/4.246, allocations: 0 / 427.7 MB, free: 92.94 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat