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.398/2.398, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.099e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3893, allocations: 54.85 MB / 364.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.619, allocations: 84.69 MB / 449.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/0.6194, allocations: 68.73 kB / 449.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05711/0.6765, allocations: 11.26 MB / 460.6 MB, free: 332 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6766, allocations: 0 / 460.6 MB, free: 332 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.504e-05/0.6767, allocations: 16 kB / 460.7 MB, free: 316 kB / 378.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.002437/0.6791, allocations: 0.8456 MB / 461.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.6792, allocations: 8.031 kB / 461.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.6794, allocations: 98.5 kB / 461.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.6796, allocations: 79.16 kB / 461.7 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.6803, allocations: 367.3 kB / 462 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.6804, allocations: 46.59 kB / 462.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.6806, allocations: 67.84 kB / 462.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.6822, allocations: 0.5645 MB / 462.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/0.6823, allocations: 15.84 kB / 462.7 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.6824, allocations: 23.94 kB / 462.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.6824, allocations: 16 kB / 462.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.6838, allocations: 450.8 kB / 463.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/0.6895, allocations: 2.204 MB / 465.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.6913, allocations: 0.6499 MB / 466.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.6922, allocations: 305.9 kB / 466.4 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.6924, allocations: 101.5 kB / 466.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.6925, allocations: 46.94 kB / 466.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/0.6925, allocations: 0 / 466.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.01188/0.7044, allocations: 4.103 MB / 470.6 MB, free: 5.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.7046, allocations: 222.2 kB / 470.8 MB, free: 5.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.7052, allocations: 311.1 kB / 471.1 MB, free: 5.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.7054, allocations: 53.77 kB / 471.2 MB, free: 5.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.7056, allocations: 303.4 kB / 471.5 MB, free: 4.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.7061, allocations: 406.1 kB / 471.9 MB, free: 4.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.7062, allocations: 20 kB / 471.9 MB, free: 4.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.7064, allocations: 355 kB / 472.2 MB, free: 3.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.7072, allocations: 266.6 kB / 472.5 MB, free: 3.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/0.7082, allocations: 465.2 kB / 473 MB, free: 3.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.7092, allocations: 345.9 kB / 473.3 MB, free: 2.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.7092, allocations: 4 kB / 473.3 MB, free: 2.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002342/0.7116, allocations: 0.8784 MB / 474.2 MB, free: 1.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.7116, allocations: 8 kB / 474.2 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.7117, allocations: 4 kB / 474.2 MB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.923e-05/0.7117, allocations: 15.95 kB / 474.2 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.7138, allocations: 291.6 kB / 474.5 MB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.079e-05/0.7139, allocations: 20 kB / 474.5 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.7147, allocations: 55.97 kB / 474.6 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.7149, allocations: 40 kB / 474.6 MB, free: 1.496 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.0002701/0.7151, allocations: 164.7 kB / 474.8 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.7155, allocations: 75.16 kB / 474.8 MB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006339/0.7161, allocations: 208.2 kB / 475 MB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.7161, allocations: 19.95 kB / 475.1 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.7162, allocations: 0 / 475.1 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/0.7162, allocations: 11.97 kB / 475.1 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007069/0.7233, allocations: 2.292 MB / 477.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.7233, allocations: 4.156 kB / 477.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/0.7262, allocations: 267.9 kB / 477.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.067e-05/0.7263, allocations: 8 kB / 477.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.7264, allocations: 27.98 kB / 477.7 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.7265, allocations: 8 kB / 477.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/0.7265, allocations: 7.938 kB / 477.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004804/0.7313, allocations: 1.937 MB / 479.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/0.732, allocations: 204.1 kB / 479.8 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.7323, allocations: 24 kB / 479.8 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.7339, allocations: 51.97 kB / 479.9 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.7343, allocations: 92.33 kB / 480 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.7345, allocations: 36 kB / 480 MB, free: 11.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000621/0.7351, allocations: 245.2 kB / 480.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.7351, allocations: 0 / 480.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002215/0.7374, allocations: 200.1 kB / 480.5 MB, free: 11.38 MB / 410.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 () * 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.006085/0.7435, allocations: 3.556 MB / 484 MB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.7464, allocations: 0.7495 MB / 484.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7464, allocations: 0.875 kB / 484.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.7481, allocations: 454.8 kB / 485.2 MB, free: 6.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.7502, allocations: 104 kB / 485.3 MB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/0.7594, allocations: 2.184 MB / 487.5 MB, free: 4.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.7605, allocations: 0.9525 MB / 488.4 MB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.7615, allocations: 267.3 kB / 488.7 MB, free: 2.887 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/0.7616, allocations: 0 / 488.7 MB, free: 2.887 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/3.523, allocations: 11.6 MB / 0.4886 GB, free: 7.281 MB / 426.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