Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.MultiBody.Parts.Rotor1D.Beveal1d,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Beveal1d",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.01451/0.01451, allocations: 166.4 kB / 15.11 MB, free: 5.934 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.658/1.658, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001989/0.001989, allocations: 118.4 kB / 226.2 MB, free: 10.11 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.4483/0.4483, allocations: 38.06 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005006, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 48.72 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5536, allocations: 95.25 MB / 0.4951 GB, free: 8.348 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.554, allocations: 85.88 kB / 0.4952 GB, free: 8.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7751/1.329, allocations: 106.1 MB / 0.5988 GB, free: 71.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.329, allocations: 0 / 0.5988 GB, free: 71.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004079/1.33, allocations: 105.2 kB / 0.5989 GB, free: 71.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.02553/1.355, allocations: 5.729 MB / 0.6045 GB, free: 69.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.355, allocations: 9.281 kB / 0.6045 GB, free: 69.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004792/1.36, allocations: 0.9276 MB / 0.6054 GB, free: 69.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05357/1.414, allocations: 6.893 MB / 0.6121 GB, free: 69.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0265/1.44, allocations: 6.89 MB / 0.6188 GB, free: 68.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006931/1.441, allocations: 406 kB / 0.6192 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003329/1.444, allocations: 0.5302 MB / 0.6197 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04597/1.49, allocations: 12.39 MB / 0.6318 GB, free: 65.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007226/1.491, allocations: 74.47 kB / 0.6319 GB, free: 65.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003771/1.495, allocations: 256.9 kB / 0.6322 GB, free: 65.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/1.499, allocations: 1.13 MB / 0.6333 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04204/1.541, allocations: 9.983 MB / 0.643 GB, free: 65.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08972/1.631, allocations: 56.55 MB / 0.6982 GB, free: 22.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/1.648, allocations: 4.169 MB / 0.7023 GB, free: 20.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02446/1.673, allocations: 9.515 MB / 0.7116 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/1.673, allocations: 51.38 kB / 0.7116 GB, free: 15.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 5.28e-06/1.673, allocations: 0 / 0.7116 GB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.08447/1.757, allocations: 18.32 MB / 0.7295 GB, free: 4.863 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/1.757, allocations: 204.4 kB / 0.7297 GB, free: 4.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.768, allocations: 4.231 MB / 0.7339 GB, free: 1.059 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005358/1.769, allocations: 57.64 kB / 0.7339 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004435/1.773, allocations: 3.757 MB / 0.7376 GB, free: 13.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001637/1.775, allocations: 0.8132 MB / 0.7384 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/1.776, allocations: 128 kB / 0.7385 GB, free: 12.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001052/1.777, allocations: 0.5776 MB / 0.7391 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007069/1.785, allocations: 2.234 MB / 0.7412 GB, free: 10.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/1.796, allocations: 6.149 MB / 0.7473 GB, free: 2.754 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.344/2.14, allocations: 3.648 MB / 0.7508 GB, free: 77.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/2.14, allocations: 42.12 kB / 0.7509 GB, free: 77.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.03482/2.175, allocations: 8.867 MB / 0.7595 GB, free: 77.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/2.176, allocations: 67.44 kB / 0.7596 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004567/2.176, allocations: 141.3 kB / 0.7597 GB, free: 77.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/2.183, allocations: 0.914 MB / 0.7606 GB, free: 77.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/2.196, allocations: 1.499 MB / 0.7621 GB, free: 77.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/2.217, allocations: 7.417 MB / 0.7693 GB, free: 74.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/2.228, allocations: 347.9 kB / 0.7696 GB, free: 74.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/2.23, allocations: 398.6 kB / 0.77 GB, free: 74.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 783 * Array equations: 3 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008288/2.238, allocations: 2.569 MB / 0.7725 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/2.24, allocations: 428.8 kB / 0.7729 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/2.253, allocations: 3.539 MB / 0.7764 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-05/2.253, allocations: 22.41 kB / 0.7764 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.417e-05/2.253, allocations: 9.312 kB / 0.7764 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-05/2.253, allocations: 10.17 kB / 0.7764 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/2.289, allocations: 9.13 MB / 0.7854 GB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-05/2.289, allocations: 1.25 kB / 0.7854 GB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003634/2.293, allocations: 330.6 kB / 0.7857 GB, free: 73.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004484/2.297, allocations: 0.6905 MB / 0.7863 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005638/2.298, allocations: 36.81 kB / 0.7864 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/2.313, allocations: 6.733 MB / 0.793 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.313, allocations: 5.594 kB / 0.793 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/2.33, allocations: 6.254 MB / 0.7991 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/2.333, allocations: 0.7317 MB / 0.7998 GB, free: 67.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/2.334, allocations: 40.94 kB / 0.7998 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003921/2.338, allocations: 109.9 kB / 0.7999 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008549/2.339, allocations: 129.2 kB / 0.8001 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/2.339, allocations: 56.55 kB / 0.8001 GB, free: 67.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008253/2.348, allocations: 3.011 MB / 0.803 GB, free: 66.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.212e-06/2.348, allocations: 0 / 0.803 GB, free: 66.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008471/2.356, allocations: 1.176 MB / 0.8042 GB, free: 66.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (163): * Single equations (assignments): 158 * Array equations: 3 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01722/2.374, allocations: 7.052 MB / 0.8111 GB, free: 63.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01453/2.388, allocations: 5.672 MB / 0.8166 GB, free: 61.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/2.388, allocations: 0 / 0.8166 GB, free: 61.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005979/2.394, allocations: 1.963 MB / 0.8185 GB, free: 60.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/2.399, allocations: 0.5315 MB / 0.8191 GB, free: 60.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4714/2.871, allocations: 137.2 MB / 0.9531 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/2.882, allocations: 4.104 MB / 0.9571 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01053/2.892, allocations: 2.089 MB / 0.9591 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006435/2.899, allocations: 2.456 MB / 0.9615 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.266e-06/2.899, allocations: 0 / 0.9615 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2116/3.11, allocations: 91.68 MB / 1.051 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/3.111, allocations: 194.8 kB / 1.051 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.24/9.351, allocations: 0 / 1.051 GB, free: 83.18 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d_res.mat does not exist to compare? outputFormat=mat