Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01122/0.01122, allocations: 107.4 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001255/0.001255, allocations: 185.9 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.022/2.022, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3182/0.3182, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004884, allocations: 12 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1278, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005396/0.1332, allocations: 3.256 MB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.1362, allocations: 1.077 MB / 420.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.1367, allocations: 11.94 kB / 420.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.1369, allocations: 71.39 kB / 420.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.1376, allocations: 235.3 kB / 420.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.1382, allocations: 147.7 kB / 420.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1393, allocations: 0.5151 MB / 421.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.1398, allocations: 187 kB / 421.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.1403, allocations: 247.1 kB / 421.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.1408, allocations: 294.7 kB / 422 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.1409, allocations: 32 kB / 422.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1412, allocations: 59.86 kB / 422.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1414, allocations: 107.6 kB / 422.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.1415, allocations: 141.3 kB / 422.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008612/0.1424, allocations: 0.5416 MB / 422.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1424, allocations: 0 / 422.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1425, allocations: 0 / 422.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1425, allocations: 4 kB / 422.9 MB, free: 11.64 MB / 362.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.002769/0.1453, allocations: 0.9118 MB / 423.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1453, allocations: 8.031 kB / 423.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.1455, allocations: 98.52 kB / 423.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.1457, allocations: 75.06 kB / 424 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.1465, allocations: 392.8 kB / 424.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.1465, allocations: 41.27 kB / 424.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.1467, allocations: 67.91 kB / 424.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.1486, allocations: 0.6265 MB / 425.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.1487, allocations: 19.89 kB / 425.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.1488, allocations: 24 kB / 425.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.1488, allocations: 16 kB / 425.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.151, allocations: 0.5606 MB / 425.7 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.1561, allocations: 2.188 MB / 427.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.1582, allocations: 0.7148 MB / 428.6 MB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.1585, allocations: 97.53 kB / 428.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.1585, allocations: 46.94 kB / 428.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 4.479e-06/0.1585, allocations: 0 / 428.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.01429/0.1728, allocations: 4.619 MB / 433.4 MB, free: 476 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.1731, allocations: 218.2 kB / 433.6 MB, free: 204 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/0.1737, allocations: 365.8 kB / 434 MB, free: 15.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.1738, allocations: 45.7 kB / 434 MB, free: 15.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.1741, allocations: 265 kB / 434.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/0.1746, allocations: 410.1 kB / 434.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.1747, allocations: 24 kB / 434.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.1749, allocations: 382.8 kB / 435.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.1762, allocations: 338.4 kB / 435.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.1777, allocations: 0.5127 MB / 435.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.1792, allocations: 395.9 kB / 436.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1792, allocations: 0 / 436.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003354/0.1826, allocations: 1.035 MB / 437.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.1827, allocations: 8 kB / 437.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.1827, allocations: 8 kB / 437.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/0.1827, allocations: 8.438 kB / 437.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.1848, allocations: 299.6 kB / 437.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/0.1849, allocations: 19.89 kB / 437.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.1858, allocations: 59.97 kB / 437.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.186, allocations: 43.98 kB / 437.8 MB, free: 11.92 MB / 378.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.0005142/0.1865, allocations: 225.6 kB / 438 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.1868, allocations: 71.16 kB / 438.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/0.1875, allocations: 222.8 kB / 438.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.1875, allocations: 16 kB / 438.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.1876, allocations: 0 / 438.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/0.1876, allocations: 11.94 kB / 438.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.1938, allocations: 2.382 MB / 440.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.1938, allocations: 4 kB / 440.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/0.196, allocations: 260 kB / 440.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.1961, allocations: 8 kB / 440.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/0.1962, allocations: 27.98 kB / 441 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.1962, allocations: 12.06 kB / 441 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.1962, allocations: 7.938 kB / 441 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.2008, allocations: 2.125 MB / 443.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/0.2013, allocations: 200.1 kB / 443.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.2015, allocations: 31.95 kB / 443.3 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.2026, allocations: 55.97 kB / 443.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.2028, allocations: 80.39 kB / 443.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.2029, allocations: 31.98 kB / 443.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003848/0.2033, allocations: 251.2 kB / 443.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2033, allocations: 0 / 443.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001222/0.2046, allocations: 200 kB / 444 MB, free: 5.461 MB / 378.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.005336/0.2099, allocations: 3.741 MB / 447.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002901/0.2129, allocations: 0.8749 MB / 448.6 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.2129, allocations: 0 / 448.6 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.2145, allocations: 0.5031 MB / 449.1 MB, free: 236 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.2159, allocations: 103.2 kB / 449.2 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2953/0.5112, allocations: 8.368 MB / 457.5 MB, free: 54.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.5118, allocations: 0.9661 MB / 458.5 MB, free: 53.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000755/0.5126, allocations: 101.6 kB / 458.6 MB, free: 53.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000561/0.5131, allocations: 260.4 kB / 458.9 MB, free: 53.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5131, allocations: 3.25 kB / 458.9 MB, free: 53.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.5566, allocations: 12.51 MB / 471.4 MB, free: 52.54 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.5569, allocations: 175.2 kB / 471.5 MB, free: 52.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.506, allocations: 0 / 471.5 MB, free: 52.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat