Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.01678/0.01679, allocations: 107.9 kB / 15.06 MB, free: 5.555 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.001932/0.001932, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.232/2.232, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.2802/0.2802, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005321, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1265, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002881/0.1295, allocations: 1.511 MB / 417.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1306, allocations: 0.4885 MB / 418 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1308, allocations: 4 kB / 418 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.1308, allocations: 15.91 kB / 418 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.131, allocations: 39.86 kB / 418.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.1312, allocations: 31.95 kB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.1315, allocations: 95.8 kB / 418.2 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1317, allocations: 49.78 kB / 418.2 MB, free: 304 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1318, allocations: 55.72 kB / 418.3 MB, free: 248 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.132, allocations: 51.77 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.132, allocations: 8 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.1321, allocations: 4 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.1321, allocations: 19.92 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.1322, allocations: 49.64 kB / 418.4 MB, free: 108 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1324, allocations: 112 kB / 418.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1324, allocations: 0 / 418.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1324, allocations: 0 / 418.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1324, allocations: 0 / 418.5 MB, free: 15.99 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007309/0.1332, allocations: 418.7 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.1333, allocations: 12.03 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.1333, allocations: 46.55 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.1334, allocations: 15.81 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1337, allocations: 194.9 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1337, allocations: 15.98 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.1338, allocations: 19.86 kB / 419.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.1342, allocations: 125.6 kB / 419.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1343, allocations: 4 kB / 419.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.1343, allocations: 4 kB / 419.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1343, allocations: 4 kB / 419.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.1346, allocations: 83.95 kB / 419.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1357, allocations: 476.2 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.1361, allocations: 130.5 kB / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1361, allocations: 0 / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1362, allocations: 38.55 kB / 420.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.1362, allocations: 0 / 420.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002219/0.1384, allocations: 0.8058 MB / 420.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1385, allocations: 59.36 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1386, allocations: 137.6 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1387, allocations: 33.7 kB / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.1388, allocations: 116.3 kB / 421.2 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.1389, allocations: 70.95 kB / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.1389, allocations: 0 / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.139, allocations: 326.8 kB / 421.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1392, allocations: 44.34 kB / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1394, allocations: 76.16 kB / 421.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1396, allocations: 55.94 kB / 421.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1396, allocations: 4 kB / 421.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006298/0.1403, allocations: 210.2 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1403, allocations: 8.031 kB / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.1403, allocations: 4 kB / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.1406, allocations: 44.77 kB / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.1409, allocations: 31.98 kB / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.1429, allocations: 1.581 MB / 423.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1431, allocations: 8 kB / 423.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.1431, allocations: 4 kB / 423.7 MB, free: 10.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.1433, allocations: 137.9 kB / 423.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.1434, allocations: 11.81 kB / 423.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.1434, allocations: 21.19 kB / 423.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1434, allocations: 4 kB / 423.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1434, allocations: 0 / 423.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1435, allocations: 3.953 kB / 423.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1447, allocations: 0.5545 MB / 424.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.1447, allocations: 4 kB / 424.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.1451, allocations: 39.91 kB / 424.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.1453, allocations: 32.88 kB / 424.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1453, allocations: 4 kB / 424.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.1468, allocations: 1.378 MB / 425.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1469, allocations: 0 / 425.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.1477, allocations: 367 kB / 426.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.1478, allocations: 89.05 kB / 426.3 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1478, allocations: 3.953 kB / 426.3 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.148, allocations: 8 kB / 426.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.1481, allocations: 15.97 kB / 426.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1481, allocations: 8 kB / 426.4 MB, free: 7.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1482, allocations: 106.5 kB / 426.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1482, allocations: 0 / 426.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005416/0.1488, allocations: 36 kB / 426.5 MB, free: 7.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001174/0.15, allocations: 0.9668 MB / 427.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007394/0.1507, allocations: 270.7 kB / 427.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1507, allocations: 0 / 427.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.1512, allocations: 194.8 kB / 427.9 MB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1515, allocations: 26.38 kB / 427.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.1542, allocations: 1.545 MB / 429.5 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1546, allocations: 0.7204 MB / 430.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.198e-05/0.1547, allocations: 13.42 kB / 430.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.1548, allocations: 43.42 kB / 430.3 MB, free: 3.414 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1549, allocations: 3.938 kB / 430.3 MB, free: 3.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.1838, allocations: 2.997 MB / 433.3 MB, free: 500 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003926/0.1842, allocations: 208.5 kB / 433.5 MB, free: 256 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/2.772, allocations: 0 / 433.5 MB, free: 256 kB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat