Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions2",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.01651/0.01652, allocations: 107.8 kB / 15.06 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.2.mo): time 0.002053/0.002054, allocations: 182.1 kB / 15.95 MB, free: 5.953 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.111/2.111, 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.3042/0.3042, allocations: 40.03 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004692, allocations: 11.94 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.166, allocations: 54.87 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.005632/0.1717, allocations: 2.216 MB / 418.2 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.1742, allocations: 0.7105 MB / 418.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1745, allocations: 8 kB / 418.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1747, allocations: 39.64 kB / 419 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.1753, allocations: 131.7 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.1757, allocations: 67.81 kB / 419.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.1766, allocations: 303.4 kB / 419.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.177, allocations: 108 kB / 419.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.1774, allocations: 139.5 kB / 419.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.1778, allocations: 155.3 kB / 419.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.1779, allocations: 20 kB / 419.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.178, allocations: 20 kB / 419.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1782, allocations: 59.75 kB / 420 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1783, allocations: 97.52 kB / 420.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.179, allocations: 307.4 kB / 420.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.179, allocations: 4 kB / 420.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.179, allocations: 0 / 420.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1791, allocations: 0 / 420.4 MB, free: 14.19 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001743/0.1808, allocations: 0.5849 MB / 421 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.1809, allocations: 8.031 kB / 421 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.1811, allocations: 78.53 kB / 421 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.1813, allocations: 39.53 kB / 421.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.1819, allocations: 275.1 kB / 421.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.182, allocations: 28.94 kB / 421.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.1821, allocations: 47.95 kB / 421.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.1836, allocations: 390.1 kB / 421.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.1836, allocations: 11.89 kB / 421.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.1837, allocations: 16 kB / 421.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.1838, allocations: 12 kB / 421.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.185, allocations: 227.7 kB / 422.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.1902, allocations: 1.723 MB / 423.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1913, allocations: 270.3 kB / 424 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.1913, allocations: 4.234 kB / 424.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/0.1914, allocations: 54.52 kB / 424.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 5.31e-06/0.1914, allocations: 0 / 424.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001646/0.1931, allocations: 265.4 kB / 424.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.1933, allocations: 221.6 kB / 424.6 MB, free: 9.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006123/0.1939, allocations: 270.9 kB / 424.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.194, allocations: 29.7 kB / 424.9 MB, free: 9.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.1943, allocations: 239.2 kB / 425.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.1945, allocations: 122.3 kB / 425.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1946, allocations: 12 kB / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1948, allocations: 342.8 kB / 425.6 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.1954, allocations: 105.2 kB / 425.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.1963, allocations: 424.8 kB / 426.1 MB, free: 7.898 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.1972, allocations: 167.8 kB / 426.3 MB, free: 7.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.1972, allocations: 4 kB / 426.3 MB, free: 7.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002332/0.1995, allocations: 0.5292 MB / 426.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.1996, allocations: 11.98 kB / 426.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.1997, allocations: 12 kB / 426.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-05/0.1998, allocations: 19.95 kB / 426.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.2011, allocations: 147.8 kB / 427 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.538e-05/0.2012, allocations: 23.92 kB / 427 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.2021, allocations: 63.66 kB / 427.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.2022, allocations: 32 kB / 427.1 MB, free: 6.891 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0003888/0.2026, allocations: 181.5 kB / 427.3 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.2029, allocations: 31.67 kB / 427.3 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.2031, allocations: 41.77 kB / 427.3 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2031, allocations: 7.953 kB / 427.3 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.2031, allocations: 4 kB / 427.4 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2032, allocations: 0 / 427.4 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.2063, allocations: 0.6402 MB / 428 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.2064, allocations: 4.125 kB / 428 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.2079, allocations: 95.88 kB / 428.1 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/0.208, allocations: 11.89 kB / 428.1 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.208, allocations: 12 kB / 428.1 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/0.2081, allocations: 7.984 kB / 428.1 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.2081, allocations: 8 kB / 428.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.2099, allocations: 0.9357 MB / 429.1 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.2101, allocations: 112.8 kB / 429.2 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2103, allocations: 12 kB / 429.2 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/0.2112, allocations: 7.984 kB / 429.2 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2113, allocations: 31.88 kB / 429.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.2114, allocations: 15.98 kB / 429.2 MB, free: 4.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003747/0.2118, allocations: 182 kB / 429.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.2118, allocations: 0 / 429.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001645/0.2135, allocations: 99.84 kB / 429.5 MB, free: 4.297 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.002433/0.2159, allocations: 2.032 MB / 431.5 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.2174, allocations: 285.6 kB / 431.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.2175, allocations: 0.75 kB / 431.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.218, allocations: 99.77 kB / 431.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.2195, allocations: 56.84 kB / 432 MB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.2351, allocations: 10.91 MB / 442.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.2357, allocations: 0.8069 MB / 443.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.2361, allocations: 47.25 kB / 443.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.2363, allocations: 115.4 kB / 443.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2363, allocations: 0 / 443.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3236/0.5599, allocations: 5.943 MB / 449.8 MB, free: 58.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.5603, allocations: 188.7 kB / 450 MB, free: 57.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.377, allocations: 0 / 450 MB, free: 57.82 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat