Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions",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.01128, allocations: 106.7 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.001266/0.001266, allocations: 184.3 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.046/2.046, 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.2945/0.2945, allocations: 40.03 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000553/0.000553, allocations: 8 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1268, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005055/0.1319, allocations: 2.212 MB / 418.2 MB, free: 324 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1342, allocations: 0.7221 MB / 419 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.1346, allocations: 11.94 kB / 419 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1348, allocations: 43.69 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.1354, allocations: 127.6 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.1359, allocations: 71.88 kB / 419.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1369, allocations: 299.8 kB / 419.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.1375, allocations: 145.3 kB / 419.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.1379, allocations: 139.4 kB / 419.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.1383, allocations: 159.3 kB / 419.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.1384, allocations: 20 kB / 419.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1386, allocations: 20 kB / 420 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1387, allocations: 63.73 kB / 420 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.1389, allocations: 101.5 kB / 420.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006706/0.1396, allocations: 315.3 kB / 420.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1396, allocations: 0 / 420.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.608e-06/0.1396, allocations: 4 kB / 420.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1397, allocations: 3.938 kB / 420.4 MB, free: 14.09 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001894/0.1416, allocations: 0.612 MB / 421.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.1417, allocations: 12.03 kB / 421.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.1418, allocations: 74.53 kB / 421.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.142, allocations: 39.53 kB / 421.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.1427, allocations: 279.4 kB / 421.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.1428, allocations: 29 kB / 421.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.143, allocations: 43.95 kB / 421.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.1446, allocations: 385 kB / 421.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.1447, allocations: 11.91 kB / 421.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.1448, allocations: 19.94 kB / 421.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.1449, allocations: 8 kB / 421.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.1463, allocations: 255.8 kB / 422.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.1498, allocations: 1.12 MB / 423.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.1511, allocations: 355.5 kB / 423.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.1512, allocations: 4 kB / 423.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.1513, allocations: 46.5 kB / 423.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 4.158e-06/0.1513, allocations: 0 / 423.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.008604/0.1599, allocations: 2.459 MB / 426.2 MB, free: 7.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.16, allocations: 114.8 kB / 426.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.1606, allocations: 238.6 kB / 426.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.1607, allocations: 41.64 kB / 426.5 MB, free: 7.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.1609, allocations: 180.7 kB / 426.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.1612, allocations: 193.1 kB / 426.9 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.1613, allocations: 12 kB / 426.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1615, allocations: 346.8 kB / 427.3 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.1622, allocations: 137 kB / 427.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.163, allocations: 227.8 kB / 427.6 MB, free: 6.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/0.1638, allocations: 175.8 kB / 427.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1638, allocations: 0 / 427.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00251/0.1663, allocations: 0.5617 MB / 428.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.1664, allocations: 7.938 kB / 428.4 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.1665, allocations: 4 kB / 428.4 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008074/0.1673, allocations: 126.6 kB / 428.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.1683, allocations: 103.8 kB / 428.6 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007794/0.1761, allocations: 4.708 MB / 433.3 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.1768, allocations: 20 kB / 433.3 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.1769, allocations: 24.06 kB / 433.3 MB, free: 184 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003894/0.1773, allocations: 173.7 kB / 433.5 MB, free: 0 / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.1776, allocations: 31.8 kB / 433.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.1778, allocations: 54.11 kB / 433.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.1778, allocations: 4 kB / 433.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.1778, allocations: 4 kB / 433.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1778, allocations: 4 kB / 433.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/0.1825, allocations: 1.339 MB / 434.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.1825, allocations: 4 kB / 434.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.1837, allocations: 107.8 kB / 435.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.1844, allocations: 98.59 kB / 435.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/0.1845, allocations: 12 kB / 435.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006169/0.1907, allocations: 4.135 MB / 439.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1908, allocations: 0 / 439.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.194, allocations: 0.9981 MB / 440.3 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.1943, allocations: 108.8 kB / 440.4 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1944, allocations: 16 kB / 440.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.1951, allocations: 15.98 kB / 440.4 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.1953, allocations: 55.83 kB / 440.5 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.1954, allocations: 16 kB / 440.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00035/0.1957, allocations: 170 kB / 440.7 MB, free: 8.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1958, allocations: 0 / 440.7 MB, free: 8.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00171/0.1975, allocations: 120 kB / 440.8 MB, free: 8.152 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004256/0.2018, allocations: 1.891 MB / 442.7 MB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.2049, allocations: 0.7767 MB / 443.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.205, allocations: 0 / 443.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.2069, allocations: 0.5741 MB / 444 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.2081, allocations: 49.48 kB / 444.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.2196, allocations: 4.344 MB / 448.4 MB, free: 264 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3373/0.557, allocations: 0.8231 MB / 449.2 MB, free: 57.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.5573, allocations: 33.89 kB / 449.3 MB, free: 57.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.5576, allocations: 129.6 kB / 449.4 MB, free: 57.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5576, allocations: 1.531 kB / 449.4 MB, free: 57.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.6591, allocations: 7.438 MB / 456.8 MB, free: 57.49 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.6594, allocations: 204.9 kB / 457 MB, free: 57.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/3.672, allocations: 4 kB / 457 MB, free: 57.25 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat