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.0139/0.0139, allocations: 165 kB / 15.11 MB, free: 6 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.747/1.747, allocations: 170.8 MB / 186.6 MB, free: 1.016 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.001921/0.00192, allocations: 110.5 kB / 226.2 MB, free: 10.09 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.4625/0.4625, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004748, allocations: 12 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 48.71 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5463, allocations: 73.7 MB / 485.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.5466, allocations: 63.16 kB / 485.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009758/0.5564, allocations: 2.529 MB / 488 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5564, allocations: 0 / 488 MB, free: 11.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.5565, allocations: 4 kB / 488 MB, free: 11.83 MB / 330.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.0006168/0.5571, allocations: 426.3 kB / 488.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5571, allocations: 8.031 kB / 488.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.5572, allocations: 51.17 kB / 488.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.5573, allocations: 18.94 kB / 488.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.5574, allocations: 182.2 kB / 488.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.5574, allocations: 11.2 kB / 488.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.5575, allocations: 24.55 kB / 488.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.5579, allocations: 164.9 kB / 488.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5579, allocations: 7.906 kB / 488.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.558, allocations: 11.3 kB / 488.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.558, allocations: 7.469 kB / 488.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.5582, allocations: 92.14 kB / 489 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.5593, allocations: 0.612 MB / 489.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.5597, allocations: 125.3 kB / 489.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.5597, allocations: 4 kB / 489.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5597, allocations: 49.06 kB / 489.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.945e-06/0.5598, allocations: 0 / 489.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001109/0.5609, allocations: 381.2 kB / 490.1 MB, free: 9.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.561, allocations: 80.42 kB / 490.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.5611, allocations: 115.6 kB / 490.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.5611, allocations: 29.14 kB / 490.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.5612, allocations: 134.9 kB / 490.5 MB, free: 9.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.5612, allocations: 53.27 kB / 490.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.5613, allocations: 3.375 kB / 490.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.5613, allocations: 322.5 kB / 490.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.5614, allocations: 39.73 kB / 490.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5616, allocations: 103.3 kB / 491 MB, free: 8.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.5617, allocations: 51.34 kB / 491 MB, free: 8.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5617, allocations: 0 / 491 MB, free: 8.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005764/0.5623, allocations: 230.9 kB / 491.3 MB, free: 8.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5624, allocations: 4 kB / 491.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5624, allocations: 4 kB / 491.3 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.5627, allocations: 45.48 kB / 491.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.5629, allocations: 39.86 kB / 491.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.5652, allocations: 2.728 MB / 494.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.5654, allocations: 19.69 kB / 494.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5654, allocations: 8 kB / 494.1 MB, free: 5.641 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.0001498/0.5655, allocations: 134.7 kB / 494.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.5656, allocations: 11.84 kB / 494.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.5657, allocations: 20.45 kB / 494.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5657, allocations: 3.953 kB / 494.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.5657, allocations: 4 kB / 494.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5657, allocations: 0 / 494.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.5661, allocations: 224.6 kB / 494.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5661, allocations: 4 kB / 494.5 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.5664, allocations: 33.11 kB / 494.5 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.5667, allocations: 49.44 kB / 494.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.5667, allocations: 4 kB / 494.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.5689, allocations: 2.744 MB / 497.3 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5689, allocations: 0 / 497.3 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.5695, allocations: 372 kB / 497.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.5696, allocations: 85.02 kB / 497.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5696, allocations: 16 kB / 497.8 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.5698, allocations: 7.875 kB / 497.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.5698, allocations: 7.984 kB / 497.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5699, allocations: 4 kB / 497.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.994e-05/0.5699, allocations: 102 kB / 497.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5699, allocations: 0 / 497.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006353/0.5706, allocations: 59.66 kB / 498 MB, free: 1.664 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,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.0008174/0.5714, allocations: 0.981 MB / 499 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006821/0.5721, allocations: 350.3 kB / 499.3 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5722, allocations: 192 / 499.3 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.5726, allocations: 300.7 kB / 499.6 MB, free: 68 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.5731, allocations: 32.25 kB / 499.6 MB, free: 40 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.5767, allocations: 2.682 MB / 0.4905 GB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.5771, allocations: 0.732 MB / 0.4912 GB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.5772, allocations: 9.422 kB / 0.4913 GB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.5773, allocations: 45.39 kB / 0.4913 GB, free: 12.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5773, allocations: 3.938 kB / 0.4913 GB, free: 12.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.6076, allocations: 3.327 MB / 0.4946 GB, free: 9.371 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000362/0.6081, allocations: 222.4 kB / 0.4948 GB, free: 9.125 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.082, allocations: 3.938 kB / 0.4948 GB, free: 9.121 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat