Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01088/0.01088, allocations: 103.7 kB / 15.05 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001132/0.001131, allocations: 173.7 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.64/1.64, allocations: 170.9 MB / 187.5 MB, free: 1.012 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2476/0.2476, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006364, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09051, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00559/0.09613, allocations: 3.257 MB / 375.5 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.09902, allocations: 1.076 MB / 376.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004462/0.09951, allocations: 11.94 kB / 376.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.09977, allocations: 67.45 kB / 376.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.1006, allocations: 243.3 kB / 376.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.1013, allocations: 143.7 kB / 377.1 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1024, allocations: 0.5267 MB / 377.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.1028, allocations: 191 kB / 377.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004527/0.1033, allocations: 255 kB / 378 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005324/0.1038, allocations: 294.7 kB / 378.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.1039, allocations: 35.94 kB / 378.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.1042, allocations: 55.98 kB / 378.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1044, allocations: 111.5 kB / 378.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.1045, allocations: 141.4 kB / 378.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008399/0.1054, allocations: 0.5455 MB / 379.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1054, allocations: 0 / 379.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1054, allocations: 3.938 kB / 379.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.1054, allocations: 0 / 379.2 MB, free: 5.895 MB / 282.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.002752/0.1082, allocations: 0.9273 MB / 380.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.1083, allocations: 12.03 kB / 380.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.1085, allocations: 94.52 kB / 380.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.1087, allocations: 75.16 kB / 380.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.1094, allocations: 392.6 kB / 380.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.1095, allocations: 45.31 kB / 380.7 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.1096, allocations: 63.91 kB / 380.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.1114, allocations: 0.6209 MB / 381.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/0.1115, allocations: 15.89 kB / 381.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.1116, allocations: 27.94 kB / 381.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.1117, allocations: 12 kB / 381.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.1137, allocations: 0.5679 MB / 382 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/0.1186, allocations: 2.036 MB / 384.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.1206, allocations: 0.667 MB / 384.7 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.546e-05/0.1208, allocations: 8.438 kB / 384.8 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.1208, allocations: 54.92 kB / 384.8 MB, free: 16 kB / 282.7 MB Notification: Performance of pre-optimization done (n=82): time 3.567e-06/0.1208, allocations: 0 / 384.8 MB, free: 16 kB / 282.7 MB Notification: Performance of matching and sorting (n=115): time 0.01366/0.1345, allocations: 4.54 MB / 389.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1346, allocations: 178.7 kB / 389.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.1352, allocations: 378 kB / 389.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.1353, allocations: 45.64 kB / 389.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.1355, allocations: 273 kB / 390.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/0.136, allocations: 394.1 kB / 390.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.1361, allocations: 28 kB / 390.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1363, allocations: 374.8 kB / 391 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.1375, allocations: 342.4 kB / 391.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.139, allocations: 0.5282 MB / 391.8 MB, free: 8.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.1404, allocations: 399.2 kB / 392.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1404, allocations: 4 kB / 392.2 MB, free: 8.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003203/0.1436, allocations: 1.047 MB / 393.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.1437, allocations: 11.95 kB / 393.3 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.1437, allocations: 8 kB / 393.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.1437, allocations: 12 kB / 393.3 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.1458, allocations: 292 kB / 393.6 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.1459, allocations: 16.05 kB / 393.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.1467, allocations: 59.97 kB / 393.7 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.1468, allocations: 44 kB / 393.7 MB, free: 6.602 MB / 298.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.0004611/0.1473, allocations: 234.5 kB / 393.9 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.1475, allocations: 79.06 kB / 394 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.1486, allocations: 323 kB / 394.3 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.1486, allocations: 19.92 kB / 394.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.1486, allocations: 4 kB / 394.4 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.1487, allocations: 7.969 kB / 394.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/0.1548, allocations: 2.456 MB / 396.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.1548, allocations: 4 kB / 396.8 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/0.157, allocations: 255.7 kB / 397.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/0.157, allocations: 8 kB / 397.1 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/0.1571, allocations: 32.2 kB / 397.1 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/0.1572, allocations: 12 kB / 397.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.1572, allocations: 7.938 kB / 397.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/0.1616, allocations: 1.977 MB / 399.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.1621, allocations: 200.2 kB / 399.3 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.1622, allocations: 24 kB / 399.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/0.1632, allocations: 59.95 kB / 399.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.1634, allocations: 84.34 kB / 399.5 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-05/0.1635, allocations: 35.98 kB / 399.5 MB, free: 0.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004549/0.164, allocations: 259.2 kB / 399.8 MB, free: 296 kB / 298.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.164, allocations: 0 / 399.8 MB, free: 296 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.001296/0.1653, allocations: 204 kB / 400 MB, free: 92 kB / 298.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.005339/0.1707, allocations: 3.455 MB / 403.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002942/0.1737, allocations: 0.8948 MB / 404.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.1737, allocations: 0 / 404.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.1753, allocations: 0.5035 MB / 404.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.1766, allocations: 97.91 kB / 404.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.1903, allocations: 8.421 MB / 413.3 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.191, allocations: 0.9722 MB / 414.3 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007729/0.1918, allocations: 110.3 kB / 414.4 MB, free: 1.309 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.1924, allocations: 271.3 kB / 414.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1924, allocations: 0 / 414.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04744/0.2399, allocations: 12.65 MB / 427.3 MB, free: 4.504 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/0.2403, allocations: 168.1 kB / 427.5 MB, free: 4.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/2.921, allocations: 0 / 427.5 MB, free: 4.27 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat