Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.AllComponents.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.32e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3364, allocations: 54.84 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.4899, allocations: 84.02 MB / 442.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4902, allocations: 71.91 kB / 442.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05316/0.5433, allocations: 11.16 MB / 453.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5434, allocations: 0 / 453.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.444e-05/0.5435, allocations: 19.98 kB / 453.4 MB, free: 15.4 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002358/0.5458, allocations: 0.8379 MB / 454.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5459, allocations: 8.031 kB / 454.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.5461, allocations: 79.06 kB / 454.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.5468, allocations: 367.3 kB / 454.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.5469, allocations: 23.95 kB / 454.7 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.5471, allocations: 43.91 kB / 454.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/0.5483, allocations: 414.7 kB / 455.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5496, allocations: 489.7 kB / 455.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.5497, allocations: 15.78 kB / 455.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/0.5497, allocations: 0 / 455.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.5498, allocations: 16 kB / 455.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.5548, allocations: 1.957 MB / 457.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.5563, allocations: 0.5605 MB / 458.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006678/0.557, allocations: 275.7 kB / 458.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.5572, allocations: 97.53 kB / 458.5 MB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.5572, allocations: 46.94 kB / 458.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.798e-06/0.5573, allocations: 0 / 458.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.008916/0.5662, allocations: 3.543 MB / 462.1 MB, free: 6.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.5664, allocations: 170.8 kB / 462.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.5669, allocations: 297.2 kB / 462.6 MB, free: 5.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.567, allocations: 25.7 kB / 462.6 MB, free: 5.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.5673, allocations: 307.5 kB / 462.9 MB, free: 5.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004391/0.5677, allocations: 398 kB / 463.3 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.5678, allocations: 7.938 kB / 463.3 MB, free: 4.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.568, allocations: 354.8 kB / 463.6 MB, free: 4.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.5687, allocations: 246.6 kB / 463.9 MB, free: 4.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/0.5696, allocations: 430.8 kB / 464.3 MB, free: 3.695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.5705, allocations: 308.3 kB / 464.6 MB, free: 3.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5705, allocations: 0 / 464.6 MB, free: 3.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002138/0.5727, allocations: 0.7925 MB / 465.4 MB, free: 2.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.5728, allocations: 8 kB / 465.4 MB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.5728, allocations: 4 kB / 465.4 MB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.87e-05/0.5728, allocations: 12 kB / 465.4 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.5749, allocations: 296 kB / 465.7 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.575, allocations: 11.98 kB / 465.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/0.5758, allocations: 39.97 kB / 465.8 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.5759, allocations: 36 kB / 465.8 MB, free: 2.199 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0002423/0.5762, allocations: 130.7 kB / 465.9 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001981/0.5782, allocations: 0.6816 MB / 466.6 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.5785, allocations: 71.16 kB / 466.7 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/0.5792, allocations: 227.1 kB / 466.9 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.5793, allocations: 12 kB / 466.9 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.5793, allocations: 4 kB / 466.9 MB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.5793, allocations: 15.92 kB / 466.9 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3177/0.897, allocations: 2.132 MB / 469.1 MB, free: 95.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.8971, allocations: 3.5 kB / 469.1 MB, free: 95.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/0.8994, allocations: 261 kB / 469.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-05/0.8994, allocations: 7.5 kB / 469.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.8996, allocations: 11.77 kB / 469.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-05/0.8996, allocations: 10.56 kB / 469.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.8996, allocations: 5.781 kB / 469.3 MB, free: 95.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.9027, allocations: 1.707 MB / 471.1 MB, free: 94.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.9032, allocations: 196.4 kB / 471.2 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.9034, allocations: 9.406 kB / 471.3 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/0.9044, allocations: 39.58 kB / 471.3 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.9047, allocations: 81.5 kB / 471.4 MB, free: 94.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/0.9048, allocations: 36.31 kB / 471.4 MB, free: 94.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003628/0.9052, allocations: 227.6 kB / 471.6 MB, free: 94.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9052, allocations: 1.062 kB / 471.6 MB, free: 94.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001192/0.9064, allocations: 159.9 kB / 471.8 MB, free: 94.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.003313/0.9097, allocations: 3.162 MB / 474.9 MB, free: 92.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.9116, allocations: 0.6927 MB / 475.6 MB, free: 92.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.9116, allocations: 0 / 475.6 MB, free: 92.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000994/0.9127, allocations: 417 kB / 476 MB, free: 92.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.914, allocations: 99.03 kB / 476.1 MB, free: 92.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.9194, allocations: 2.081 MB / 478.2 MB, free: 91.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.92, allocations: 0.9595 MB / 479.2 MB, free: 90.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/0.9206, allocations: 267.3 kB / 479.4 MB, free: 90.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9207, allocations: 0 / 479.4 MB, free: 90.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/3.695, allocations: 11.53 MB / 491 MB, free: 85.86 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat