Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.01553/0.01553, allocations: 108.5 kB / 15.06 MB, free: 6.031 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.004849/0.004849, allocations: 179.5 kB / 15.95 MB, free: 5.957 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.099/2.099, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.3202/0.3202, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006759, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1284, allocations: 54.87 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002455/0.1309, allocations: 1.434 MB / 417.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004077/0.1313, allocations: 155.6 kB / 417.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1314, allocations: 3.938 kB / 417.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.758e-05/0.1315, allocations: 19.91 kB / 417.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1317, allocations: 59.8 kB / 417.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.1319, allocations: 23.98 kB / 417.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.1321, allocations: 127.7 kB / 417.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1323, allocations: 45.83 kB / 417.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1324, allocations: 55.8 kB / 417.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1326, allocations: 63.77 kB / 418 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.1326, allocations: 15.98 kB / 418 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.1326, allocations: 8 kB / 418 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.1327, allocations: 23.86 kB / 418 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.1328, allocations: 57.64 kB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.133, allocations: 127.9 kB / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.133, allocations: 0 / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.133, allocations: 4 kB / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.133, allocations: 0 / 418.2 MB, free: 336 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007213/0.1338, allocations: 423.2 kB / 418.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1338, allocations: 12.03 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.224e-05/0.1339, allocations: 54.48 kB / 418.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.134, allocations: 15.81 kB / 418.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1342, allocations: 202.8 kB / 418.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.1343, allocations: 12.33 kB / 418.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.1343, allocations: 20 kB / 418.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.1347, allocations: 165.6 kB / 419.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.1348, allocations: 4 kB / 419.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.1348, allocations: 4 kB / 419.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1348, allocations: 4 kB / 419.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.1351, allocations: 95.88 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.1363, allocations: 0.6266 MB / 419.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1366, allocations: 129.2 kB / 420 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1366, allocations: 0 / 420 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1367, allocations: 38.56 kB / 420 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.1367, allocations: 4 kB / 420 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001134/0.1378, allocations: 373.5 kB / 420.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.1379, allocations: 89.05 kB / 420.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.138, allocations: 126.1 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1381, allocations: 29.7 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.1382, allocations: 132 kB / 420.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.1383, allocations: 51.2 kB / 420.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.1383, allocations: 0 / 420.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1384, allocations: 330.8 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1385, allocations: 35.98 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1387, allocations: 100.5 kB / 421.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1389, allocations: 52.38 kB / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1389, allocations: 7.875 kB / 421.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005742/0.1395, allocations: 231 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1395, allocations: 4 kB / 421.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1395, allocations: 4 kB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.1398, allocations: 49.69 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1401, allocations: 35.92 kB / 421.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/0.1428, allocations: 2.728 MB / 424.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.143, allocations: 15.84 kB / 424.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1431, allocations: 8 kB / 424.4 MB, free: 9.562 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.1432, allocations: 142 kB / 424.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.1433, allocations: 11.91 kB / 424.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.1434, allocations: 12.72 kB / 424.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1434, allocations: 4 kB / 424.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1434, allocations: 0 / 424.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1434, allocations: 3.953 kB / 424.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.1439, allocations: 237.5 kB / 424.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1439, allocations: 0 / 424.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.1442, allocations: 23.98 kB / 424.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.1444, allocations: 53.64 kB / 424.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1445, allocations: 7.984 kB / 424.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.1471, allocations: 2.724 MB / 427.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1471, allocations: 3.938 kB / 427.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.1478, allocations: 378 kB / 428 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1478, allocations: 89.19 kB / 428 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1479, allocations: 12.06 kB / 428.1 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1481, allocations: 0 / 428.1 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1481, allocations: 19.88 kB / 428.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1481, allocations: 4 kB / 428.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.861e-05/0.1482, allocations: 99.27 kB / 428.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1482, allocations: 0 / 428.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006864/0.1489, allocations: 55.84 kB / 428.2 MB, free: 5.324 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009551/0.1499, allocations: 0.987 MB / 429.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007284/0.1507, allocations: 345.3 kB / 429.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1507, allocations: 0 / 429.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.1511, allocations: 297.7 kB / 429.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.1516, allocations: 24.97 kB / 429.9 MB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.155, allocations: 2.687 MB / 432.6 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1554, allocations: 0.7359 MB / 433.3 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.104e-05/0.1555, allocations: 9.422 kB / 433.3 MB, free: 44 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.1556, allocations: 43.42 kB / 433.3 MB, free: 0 / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1557, allocations: 0 / 433.3 MB, free: 0 / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.1881, allocations: 3.333 MB / 436.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003767/0.1885, allocations: 212.6 kB / 436.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/2.779, allocations: 0 / 436.9 MB, free: 12.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat