Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01693/0.01693, allocations: 104.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.1.mo): time 0.00183/0.00183, allocations: 169.1 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.712/1.712, allocations: 170.9 MB / 187.6 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2851/0.2851, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.09029, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003687/0.09403, allocations: 2.354 MB / 374.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.09494, allocations: 426.7 kB / 375.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.09513, allocations: 11.94 kB / 375.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.09525, allocations: 51.62 kB / 375.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.0957, allocations: 171.5 kB / 375.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.09598, allocations: 71.92 kB / 375.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005842/0.09657, allocations: 387.2 kB / 375.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.09687, allocations: 125.1 kB / 375.9 MB, free: 9.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.09713, allocations: 175.4 kB / 376 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.09744, allocations: 191.1 kB / 376.2 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.09752, allocations: 24 kB / 376.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.09764, allocations: 24 kB / 376.3 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.09773, allocations: 79.75 kB / 376.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.09787, allocations: 117.5 kB / 376.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.09842, allocations: 379.2 kB / 376.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.09843, allocations: 0 / 376.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.09845, allocations: 4 kB / 376.8 MB, free: 8.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.09847, allocations: 0 / 376.8 MB, free: 8.277 MB / 282.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.001225/0.0997, allocations: 0.6393 MB / 377.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.09975, allocations: 8.031 kB / 377.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.09988, allocations: 86.52 kB / 377.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1, allocations: 51.44 kB / 377.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.1004, allocations: 286.3 kB / 377.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.1005, allocations: 33 kB / 377.9 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1006, allocations: 59.89 kB / 378 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/0.1016, allocations: 446.1 kB / 378.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.1016, allocations: 11.89 kB / 378.4 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.1017, allocations: 20 kB / 378.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.1017, allocations: 12 kB / 378.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.1024, allocations: 256.5 kB / 378.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.1057, allocations: 1.703 MB / 380.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.1065, allocations: 423.3 kB / 380.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1066, allocations: 8 kB / 380.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1066, allocations: 50.45 kB / 380.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.927e-06/0.1066, allocations: 4 kB / 380.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.001079/0.1077, allocations: 349.5 kB / 381.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.1079, allocations: 269 kB / 381.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1083, allocations: 250.8 kB / 381.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1083, allocations: 29.7 kB / 381.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.1085, allocations: 244.1 kB / 382 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.1087, allocations: 193.3 kB / 382.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1088, allocations: 19.94 kB / 382.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1089, allocations: 350.7 kB / 382.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.1093, allocations: 114 kB / 382.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.1099, allocations: 405.6 kB / 383.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.1104, allocations: 184.8 kB / 383.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.1104, allocations: 4 kB / 383.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001352/0.1118, allocations: 0.5633 MB / 383.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.1118, allocations: 12 kB / 383.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.1118, allocations: 11.95 kB / 383.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/0.1119, allocations: 16 kB / 383.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.1129, allocations: 179.7 kB / 384 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.113, allocations: 24.42 kB / 384.1 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.1134, allocations: 63.38 kB / 384.1 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.1135, allocations: 36 kB / 384.1 MB, free: 416 kB / 282.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.0002892/0.1138, allocations: 182.6 kB / 384.3 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.1141, allocations: 35.62 kB / 384.4 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1142, allocations: 41.7 kB / 384.4 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.1142, allocations: 7.953 kB / 384.4 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.1142, allocations: 4.625 kB / 384.4 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.1142, allocations: 7.984 kB / 384.4 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.1158, allocations: 421.1 kB / 384.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.1158, allocations: 8 kB / 384.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.117, allocations: 127.9 kB / 385 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.117, allocations: 4 kB / 385 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.1171, allocations: 8 kB / 385 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.1171, allocations: 4 kB / 385 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.1171, allocations: 7.953 kB / 385 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1184, allocations: 1.174 MB / 386.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1185, allocations: 116.6 kB / 386.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.1186, allocations: 16 kB / 386.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.1192, allocations: 8 kB / 386.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.1193, allocations: 31.91 kB / 386.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.1193, allocations: 19.98 kB / 386.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000231/0.1196, allocations: 166 kB / 386.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1196, allocations: 0 / 386.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001175/0.1207, allocations: 135.7 kB / 386.6 MB, free: 13.76 MB / 298.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.001676/0.1224, allocations: 2.269 MB / 388.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008977/0.1234, allocations: 350 kB / 389.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1234, allocations: 0 / 389.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.1237, allocations: 125.3 kB / 389.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.1249, allocations: 92.56 kB / 389.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.1356, allocations: 10.47 MB / 399.9 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.1363, allocations: 0.8356 MB / 400.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000322/0.1366, allocations: 56.14 kB / 400.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.1369, allocations: 143.4 kB / 401 MB, free: 15.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1369, allocations: 0 / 401 MB, free: 15.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.1743, allocations: 7.47 MB / 408.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/0.1746, allocations: 194.3 kB / 408.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/2.863, allocations: 0 / 408.6 MB, free: 7.477 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat