Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",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.01128/0.01129, allocations: 106.5 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.001264/0.001265, allocations: 175.8 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.102/2.102, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2973/0.2973, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 11.98 kB / 361.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003293/0.131, allocations: 1.776 MB / 417.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1329, allocations: 0.7262 MB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.1331, allocations: 4 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1333, allocations: 27.86 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1337, allocations: 75.69 kB / 418.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1343, allocations: 95.81 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.1347, allocations: 212 kB / 418.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.135, allocations: 64.58 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.1353, allocations: 119.6 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1356, allocations: 135.5 kB / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.1357, allocations: 12 kB / 419.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1359, allocations: 59.94 kB / 419.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.136, allocations: 47.83 kB / 419.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.459e-05/0.1361, allocations: 65.58 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.1365, allocations: 239.6 kB / 419.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1366, allocations: 0 / 419.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1366, allocations: 0 / 419.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1366, allocations: 3.938 kB / 419.7 MB, free: 14.87 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00135/0.138, allocations: 0.5223 MB / 420.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.138, allocations: 8.031 kB / 420.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1382, allocations: 66.41 kB / 420.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.1383, allocations: 23.72 kB / 420.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.1387, allocations: 242.7 kB / 420.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.1387, allocations: 16.44 kB / 420.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.1388, allocations: 23.95 kB / 420.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008366/0.1397, allocations: 267.2 kB / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.1397, allocations: 0 / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.1398, allocations: 12 kB / 420.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1398, allocations: 7.984 kB / 420.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/0.1406, allocations: 241.5 kB / 421.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.1428, allocations: 0.7441 MB / 421.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000921/0.1438, allocations: 246.5 kB / 422.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.1439, allocations: 4 kB / 422.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1439, allocations: 34.56 kB / 422.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.216e-06/0.1439, allocations: 0 / 422.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.005329/0.1493, allocations: 1.515 MB / 423.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1494, allocations: 55.41 kB / 423.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.1497, allocations: 198.5 kB / 423.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/0.1498, allocations: 37.7 kB / 423.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.15, allocations: 136.7 kB / 424 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.1501, allocations: 114.5 kB / 424.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.1502, allocations: 7.938 kB / 424.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1504, allocations: 326.8 kB / 424.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.1509, allocations: 127.9 kB / 424.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.1514, allocations: 168.4 kB / 424.8 MB, free: 9.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.1518, allocations: 119.8 kB / 424.9 MB, free: 9.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1518, allocations: 0 / 424.9 MB, free: 9.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001534/0.1534, allocations: 453.7 kB / 425.3 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.1534, allocations: 8 kB / 425.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1534, allocations: 0 / 425.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/0.1543, allocations: 240.7 kB / 425.6 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.1548, allocations: 51.91 kB / 425.6 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.156, allocations: 0.7553 MB / 426.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.1566, allocations: 47.98 kB / 426.4 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.1566, allocations: 12.06 kB / 426.4 MB, free: 7.727 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: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.1569, allocations: 149.8 kB / 426.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.157, allocations: 23.67 kB / 426.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1571, allocations: 34.64 kB / 426.6 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1572, allocations: 4 kB / 426.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.1572, allocations: 3.938 kB / 426.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1572, allocations: 0 / 426.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.1598, allocations: 0.9559 MB / 427.6 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.1599, allocations: 8.094 kB / 427.6 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.1603, allocations: 51.91 kB / 427.6 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007158/0.161, allocations: 216.7 kB / 427.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.1611, allocations: 11.98 kB / 427.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.1622, allocations: 0.7006 MB / 428.6 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.1622, allocations: 3.953 kB / 428.6 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.1643, allocations: 0.6662 MB / 429.2 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.1646, allocations: 120.9 kB / 429.4 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.1647, allocations: 12 kB / 429.4 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.1652, allocations: 52.02 kB / 429.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.1654, allocations: 51.84 kB / 429.5 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.1654, allocations: 15.98 kB / 429.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002036/0.1656, allocations: 144.2 kB / 429.6 MB, free: 4.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1657, allocations: 0 / 429.6 MB, free: 4.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005331/0.1662, allocations: 76 kB / 429.7 MB, free: 4.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002493/0.1687, allocations: 1.293 MB / 431 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1699, allocations: 307.9 kB / 431.3 MB, free: 2.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1699, allocations: 8 kB / 431.3 MB, free: 2.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.1705, allocations: 159.9 kB / 431.5 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.171, allocations: 24.31 kB / 431.5 MB, free: 2.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/0.1775, allocations: 2.412 MB / 433.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.178, allocations: 0.7569 MB / 434.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.1782, allocations: 26.22 kB / 434.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1784, allocations: 67.41 kB / 434.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.014e-06/0.1784, allocations: 0 / 434.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.2185, allocations: 6.793 MB / 441.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003679/0.219, allocations: 214.3 kB / 441.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.055, allocations: 3.938 kB / 441.8 MB, free: 8.168 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat