Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_Inertia",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.0109/0.0109, allocations: 107.8 kB / 15.06 MB, free: 6.023 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.001208/0.001208, allocations: 183.2 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.135/2.135, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.276/0.276, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006516, allocations: 8 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1398, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005987/0.1459, allocations: 2.362 MB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1478, allocations: 434.7 kB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.1482, allocations: 11.94 kB / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1484, allocations: 47.61 kB / 418.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008246/0.1492, allocations: 167.6 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.1498, allocations: 79.86 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.1511, allocations: 383.2 kB / 419.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.1516, allocations: 129.1 kB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.1522, allocations: 163.4 kB / 419.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.1527, allocations: 187.2 kB / 419.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.1529, allocations: 24 kB / 420 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1531, allocations: 27.94 kB / 420 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1533, allocations: 79.73 kB / 420.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.1535, allocations: 117.5 kB / 420.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1546, allocations: 383.1 kB / 420.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1547, allocations: 0 / 420.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1547, allocations: 0 / 420.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.1547, allocations: 4 kB / 420.6 MB, free: 13.96 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001912/0.1566, allocations: 0.6354 MB / 421.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.941e-05/0.1568, allocations: 12.03 kB / 421.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/0.157, allocations: 90.45 kB / 421.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.1573, allocations: 51.44 kB / 421.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.158, allocations: 290.1 kB / 421.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.1581, allocations: 40.94 kB / 421.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.1583, allocations: 55.86 kB / 421.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.16, allocations: 454.1 kB / 422.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.197e-05/0.1601, allocations: 7.906 kB / 422.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/0.1602, allocations: 20 kB / 422.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.1603, allocations: 12 kB / 422.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.1614, allocations: 259.7 kB / 422.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.1667, allocations: 1.707 MB / 424.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.168, allocations: 403.6 kB / 424.6 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.1681, allocations: 15.92 kB / 424.6 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.1682, allocations: 42.56 kB / 424.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.909e-06/0.1682, allocations: 3.938 kB / 424.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001759/0.17, allocations: 354.7 kB / 425 MB, free: 9.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/0.1703, allocations: 265 kB / 425.2 MB, free: 8.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.1709, allocations: 254.8 kB / 425.5 MB, free: 8.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.171, allocations: 29.7 kB / 425.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.1713, allocations: 247.6 kB / 425.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.1716, allocations: 177.5 kB / 425.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1717, allocations: 16 kB / 425.9 MB, free: 8.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.172, allocations: 350.8 kB / 426.3 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.1725, allocations: 113.9 kB / 426.4 MB, free: 7.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009644/0.1735, allocations: 417.6 kB / 426.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008291/0.1744, allocations: 188.4 kB / 427 MB, free: 6.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/0.1744, allocations: 4 kB / 427 MB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002269/0.1767, allocations: 0.5597 MB / 427.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.1768, allocations: 15.98 kB / 427.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.1769, allocations: 8 kB / 427.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.618e-05/0.177, allocations: 16 kB / 427.6 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.1787, allocations: 179.7 kB / 427.8 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.893e-05/0.1788, allocations: 19.94 kB / 427.8 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008446/0.1797, allocations: 71.23 kB / 427.9 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.1798, allocations: 32.25 kB / 427.9 MB, free: 6.086 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0004529/0.1803, allocations: 185.5 kB / 428.1 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.1808, allocations: 47.55 kB / 428.1 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1809, allocations: 41.7 kB / 428.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.181, allocations: 4 kB / 428.2 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.181, allocations: 4 kB / 428.2 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.181, allocations: 4 kB / 428.2 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.1836, allocations: 417.1 kB / 428.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.1836, allocations: 4 kB / 428.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/0.1855, allocations: 127.8 kB / 428.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.1856, allocations: 8 kB / 428.7 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.1857, allocations: 12 kB / 428.7 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/0.1858, allocations: 7.984 kB / 428.7 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.1858, allocations: 4 kB / 428.7 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.1878, allocations: 1.163 MB / 429.9 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.1881, allocations: 108.7 kB / 430 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.1882, allocations: 19.98 kB / 430 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.1893, allocations: 4 kB / 430 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.1895, allocations: 39.84 kB / 430.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.1896, allocations: 16.12 kB / 430.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000374/0.19, allocations: 170 kB / 430.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.19, allocations: 0 / 430.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002211/0.1922, allocations: 139.6 kB / 430.4 MB, free: 3.438 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.002903/0.1952, allocations: 2.281 MB / 432.7 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.1967, allocations: 340.4 kB / 433 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.1968, allocations: 0 / 433 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.1974, allocations: 134 kB / 433.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.1994, allocations: 84.62 kB / 433.2 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.2164, allocations: 10.47 MB / 443.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/0.2173, allocations: 0.836 MB / 444.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.2179, allocations: 48.16 kB / 444.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.2184, allocations: 143.4 kB / 444.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2185, allocations: 0 / 444.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4036/0.622, allocations: 7.474 MB / 452.2 MB, free: 57.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.6224, allocations: 193.2 kB / 452.4 MB, free: 57.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.495, allocations: 0 / 452.4 MB, free: 57.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat