Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Translational.AllComponents.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004437, allocations: 12 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 48.69 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.5125, allocations: 78.42 MB / 409.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5128, allocations: 67.97 kB / 409.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05507/0.5679, allocations: 11.32 MB / 421.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.568, allocations: 0 / 421.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.561e-05/0.568, allocations: 12 kB / 421.2 MB, free: 4.543 MB / 346.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.002693/0.5707, allocations: 0.9225 MB / 422.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.5708, allocations: 19.91 kB / 422.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.5711, allocations: 102.5 kB / 422.2 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.5713, allocations: 75.16 kB / 422.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.572, allocations: 372.8 kB / 422.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.5721, allocations: 45.31 kB / 422.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.5723, allocations: 63.91 kB / 422.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.5742, allocations: 0.6209 MB / 423.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.5743, allocations: 15.86 kB / 423.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.5744, allocations: 20 kB / 423.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.5744, allocations: 20 kB / 423.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.5765, allocations: 0.5568 MB / 424 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.582, allocations: 2.052 MB / 426 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.5841, allocations: 0.6709 MB / 426.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.733e-05/0.5842, allocations: 12.56 kB / 426.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.5843, allocations: 47 kB / 426.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 3.767e-06/0.5843, allocations: 4 kB / 426.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01401/0.5983, allocations: 4.543 MB / 431.3 MB, free: 9.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.5984, allocations: 170.8 kB / 431.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.599, allocations: 330.5 kB / 431.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.5991, allocations: 45.7 kB / 431.8 MB, free: 9.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.5994, allocations: 307.5 kB / 432.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.5999, allocations: 406 kB / 432.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.5999, allocations: 24 kB / 432.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6001, allocations: 350.8 kB / 432.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.6013, allocations: 342.4 kB / 433.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.6027, allocations: 0.5282 MB / 433.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.6041, allocations: 399.1 kB / 434.2 MB, free: 6.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.6041, allocations: 7.938 kB / 434.2 MB, free: 6.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003162/0.6073, allocations: 1.02 MB / 435.2 MB, free: 5.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.6073, allocations: 8.625 kB / 435.2 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.6073, allocations: 4 kB / 435.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.6074, allocations: 12 kB / 435.2 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.6094, allocations: 296 kB / 435.5 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.6094, allocations: 15.94 kB / 435.5 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/0.6103, allocations: 59.97 kB / 435.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6104, allocations: 47.98 kB / 435.6 MB, free: 5.297 MB / 362.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.0005072/0.6109, allocations: 233.5 kB / 435.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.6112, allocations: 71.16 kB / 435.9 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.6122, allocations: 314.9 kB / 436.2 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.6123, allocations: 12 kB / 436.2 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.6123, allocations: 4 kB / 436.2 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.6123, allocations: 8.031 kB / 436.2 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/0.6184, allocations: 2.461 MB / 438.7 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6185, allocations: 0 / 438.7 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/0.6207, allocations: 263.6 kB / 439 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.6207, allocations: 12.23 kB / 439 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.635e-05/0.6208, allocations: 32 kB / 439 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/0.6208, allocations: 11.98 kB / 439 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.6208, allocations: 4 kB / 439 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.6255, allocations: 1.981 MB / 441 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.6261, allocations: 204.1 kB / 441.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.6262, allocations: 35.92 kB / 441.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/0.6271, allocations: 55.97 kB / 441.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.6274, allocations: 80.41 kB / 441.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/0.6275, allocations: 35.98 kB / 441.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000449/0.628, allocations: 263.1 kB / 441.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.628, allocations: 0 / 441.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001208/0.6292, allocations: 200 kB / 441.9 MB, free: 14.79 MB / 378.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 () * 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.005292/0.6345, allocations: 3.475 MB / 445.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002914/0.6375, allocations: 0.8901 MB / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.6375, allocations: 4 kB / 446.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.6391, allocations: 0.5042 MB / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6404, allocations: 112.5 kB / 446.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.6557, allocations: 8.477 MB / 455.3 MB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.6565, allocations: 0.9644 MB / 456.3 MB, free: 32 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/0.6573, allocations: 271.4 kB / 456.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6573, allocations: 0 / 456.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/3.353, allocations: 11.54 MB / 468.1 MB, free: 4.211 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat