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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.444/2.444, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 16 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3517, allocations: 54.86 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5166, allocations: 84.79 MB / 454.1 MB, free: 5.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5169, allocations: 71.89 kB / 454.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05535/0.5723, allocations: 11.25 MB / 465.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5724, allocations: 0 / 465.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.434e-05/0.5724, allocations: 12 kB / 465.5 MB, free: 10.31 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.002724/0.5752, allocations: 0.9081 MB / 466.4 MB, free: 9.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.5752, allocations: 12.03 kB / 466.4 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002337/0.5755, allocations: 98.52 kB / 466.5 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.5757, allocations: 71.16 kB / 466.5 MB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/0.5764, allocations: 376.7 kB / 466.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.5765, allocations: 41.31 kB / 467 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.5767, allocations: 75.8 kB / 467 MB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.5788, allocations: 0.6304 MB / 467.7 MB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.5788, allocations: 11.84 kB / 467.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-05/0.5789, allocations: 28 kB / 467.7 MB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.579, allocations: 12 kB / 467.7 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.5812, allocations: 0.5607 MB / 468.3 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/0.5867, allocations: 2.208 MB / 470.5 MB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.589, allocations: 0.7069 MB / 471.2 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.5892, allocations: 105.8 kB / 471.3 MB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/0.5893, allocations: 43 kB / 471.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 5.801e-06/0.5893, allocations: 3.984 kB / 471.3 MB, free: 4.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.3208/0.9101, allocations: 4.598 MB / 475.9 MB, free: 92.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.9103, allocations: 227 kB / 476.2 MB, free: 91.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.911, allocations: 316.9 kB / 476.5 MB, free: 91.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.9112, allocations: 44.55 kB / 476.5 MB, free: 91.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.9114, allocations: 310.3 kB / 476.8 MB, free: 91.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.9118, allocations: 404.7 kB / 477.2 MB, free: 91.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.9119, allocations: 24.41 kB / 477.2 MB, free: 91.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.912, allocations: 356.5 kB / 477.6 MB, free: 91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.9133, allocations: 335.3 kB / 477.9 MB, free: 90.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.9146, allocations: 0.5155 MB / 478.4 MB, free: 90.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.916, allocations: 395.7 kB / 478.8 MB, free: 90.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.916, allocations: 1.188 kB / 478.8 MB, free: 90.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003193/0.9192, allocations: 1.008 MB / 479.8 MB, free: 90.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.9193, allocations: 7.281 kB / 479.8 MB, free: 90.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.9193, allocations: 4.688 kB / 479.8 MB, free: 90.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.131e-05/0.9194, allocations: 11.41 kB / 479.8 MB, free: 90.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.9214, allocations: 297.4 kB / 480.1 MB, free: 90.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.223e-05/0.9214, allocations: 14.33 kB / 480.1 MB, free: 90.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.9223, allocations: 64.73 kB / 480.2 MB, free: 90.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.9225, allocations: 41.31 kB / 480.2 MB, free: 90.72 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 () * Number of clocked 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.0004829/0.923, allocations: 233.1 kB / 480.5 MB, free: 90.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.9233, allocations: 72.84 kB / 480.5 MB, free: 90.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006823/0.924, allocations: 225.8 kB / 480.8 MB, free: 90.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.924, allocations: 13.75 kB / 480.8 MB, free: 90.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.684e-05/0.924, allocations: 2.453 kB / 480.8 MB, free: 90.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.9241, allocations: 11.64 kB / 480.8 MB, free: 90.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/0.9304, allocations: 2.384 MB / 483.2 MB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/0.9305, allocations: 4.469 kB / 483.2 MB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003346/0.9338, allocations: 260.6 kB / 483.4 MB, free: 89.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.6e-05/0.934, allocations: 11.06 kB / 483.5 MB, free: 89.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002995/0.9343, allocations: 25.53 kB / 483.5 MB, free: 89.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-05/0.9343, allocations: 11.05 kB / 483.5 MB, free: 89.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.9344, allocations: 5.797 kB / 483.5 MB, free: 89.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007075/0.9414, allocations: 2.131 MB / 485.6 MB, free: 88.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/0.9422, allocations: 197.6 kB / 485.8 MB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/0.9425, allocations: 32.17 kB / 485.8 MB, free: 88.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.9441, allocations: 51.16 kB / 485.9 MB, free: 88.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.9444, allocations: 80.44 kB / 486 MB, free: 88.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.9445, allocations: 35.77 kB / 486 MB, free: 88.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.9449, allocations: 257.2 kB / 486.3 MB, free: 88.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9449, allocations: 0 / 486.3 MB, free: 88.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001332/0.9462, allocations: 194.4 kB / 486.5 MB, free: 88.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Number of clocked 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.004465/0.9507, allocations: 3.748 MB / 490.2 MB, free: 85.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002638/0.9534, allocations: 0.8768 MB / 491.1 MB, free: 84.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9534, allocations: 2.641 kB / 491.1 MB, free: 84.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.9549, allocations: 0.4993 MB / 491.6 MB, free: 84.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.9563, allocations: 105.3 kB / 491.7 MB, free: 84.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.9683, allocations: 8.409 MB / 0.4884 GB, free: 78.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.9689, allocations: 0.9577 MB / 0.4893 GB, free: 77.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/0.9696, allocations: 267.4 kB / 0.4896 GB, free: 77.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.9696, allocations: 0 / 0.4896 GB, free: 77.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.69/3.66, allocations: 11.41 MB / 0.5007 GB, free: 68.21 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