Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00988/0.00988, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.851/1.851, allocations: 170.8 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001805/0.001805, allocations: 98.83 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.486/0.486, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004708, allocations: 15.98 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002559/0.1168, allocations: 1.474 MB / 413.2 MB, free: 3.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003896/0.1173, allocations: 143.5 kB / 413.3 MB, free: 3.062 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.1174, allocations: 4 kB / 413.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.1174, allocations: 11.86 kB / 413.3 MB, free: 3.047 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1176, allocations: 47.61 kB / 413.4 MB, free: 3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.1178, allocations: 23.98 kB / 413.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.1181, allocations: 175.1 kB / 413.6 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1182, allocations: 49.84 kB / 413.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1184, allocations: 55.78 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1185, allocations: 67.7 kB / 413.7 MB, free: 2.633 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.1186, allocations: 8 kB / 413.8 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.1186, allocations: 8 kB / 413.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.1186, allocations: 23.91 kB / 413.8 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.1187, allocations: 57.58 kB / 413.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.119, allocations: 135.9 kB / 414 MB, free: 2.398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.119, allocations: 4 kB / 414 MB, free: 2.395 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.119, allocations: 0 / 414 MB, free: 2.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.119, allocations: 0 / 414 MB, free: 2.395 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006795/0.1197, allocations: 423.1 kB / 414.4 MB, free: 1.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1197, allocations: 12.02 kB / 414.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.1198, allocations: 50.55 kB / 414.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.1199, allocations: 19.72 kB / 414.5 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1201, allocations: 198.9 kB / 414.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1202, allocations: 20.33 kB / 414.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.1202, allocations: 16 kB / 414.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.1207, allocations: 169.5 kB / 414.9 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.1207, allocations: 7.906 kB / 414.9 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.1207, allocations: 4 kB / 414.9 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1208, allocations: 4 kB / 414.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.121, allocations: 91.95 kB / 415 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1222, allocations: 0.615 MB / 415.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.1226, allocations: 141.1 kB / 415.7 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1227, allocations: 49.7 kB / 415.8 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1228, allocations: 3.984 kB / 415.8 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1228, allocations: 38.56 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.216e-06/0.1229, allocations: 0 / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001185/0.124, allocations: 377.4 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.1241, allocations: 89.05 kB / 416.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1243, allocations: 133.6 kB / 416.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1243, allocations: 25.7 kB / 416.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1244, allocations: 132 kB / 416.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.1245, allocations: 51.2 kB / 416.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.1245, allocations: 8 kB / 416.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1247, allocations: 322.8 kB / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1248, allocations: 35.98 kB / 417 MB, free: 15.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.125, allocations: 108.5 kB / 417.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1251, allocations: 51.94 kB / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1251, allocations: 0 / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000587/0.1257, allocations: 223 kB / 417.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1258, allocations: 6.344 kB / 417.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1258, allocations: 8.25 kB / 417.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.1261, allocations: 49.64 kB / 417.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.1264, allocations: 31.98 kB / 417.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.1292, allocations: 2.728 MB / 420.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1294, allocations: 19.78 kB / 420.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1294, allocations: 8 kB / 420.2 MB, free: 11.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.1296, allocations: 132.1 kB / 420.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.1297, allocations: 15.77 kB / 420.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.1297, allocations: 24.8 kB / 420.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1298, allocations: 0 / 420.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.1298, allocations: 4 kB / 420.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1298, allocations: 0 / 420.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1302, allocations: 221.6 kB / 420.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.1302, allocations: 4 kB / 420.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.1305, allocations: 27.92 kB / 420.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.1308, allocations: 49.64 kB / 420.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1308, allocations: 8 kB / 420.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.1334, allocations: 2.724 MB / 423.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1334, allocations: 0 / 423.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.1341, allocations: 372.4 kB / 423.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.1341, allocations: 88.95 kB / 423.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.1342, allocations: 7.953 kB / 423.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1344, allocations: 4.062 kB / 423.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1344, allocations: 7.984 kB / 423.9 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1344, allocations: 8 kB / 423.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.629e-05/0.1345, allocations: 99.27 kB / 424 MB, free: 7.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1345, allocations: 0 / 424 MB, free: 7.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007021/0.1352, allocations: 51.91 kB / 424 MB, free: 7.367 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008989/0.1362, allocations: 0.9046 MB / 424.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.1369, allocations: 349.6 kB / 425.3 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1369, allocations: 4.125 kB / 425.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.1374, allocations: 289.3 kB / 425.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.1381, allocations: 27.98 kB / 425.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.1409, allocations: 1.344 MB / 426.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.1414, allocations: 0.7281 MB / 427.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.237e-05/0.1415, allocations: 9.438 kB / 427.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.763e-05/0.1416, allocations: 47.36 kB / 427.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.1416, allocations: 0 / 427.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08755/0.2292, allocations: 3.333 MB / 431 MB, free: 200 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2883/0.5175, allocations: 233.2 kB / 431.3 MB, free: 50.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.152, allocations: 0.7812 kB / 431.3 MB, free: 50.55 MB / 330.7 MB