Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.009848/0.009848, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.823/1.823, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.00199/0.001989, allocations: 111 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.5386/0.5386, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004652, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5611, allocations: 97.07 MB / 0.4968 GB, free: 6.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5614, allocations: 81.45 kB / 0.4969 GB, free: 6.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4207/0.9822, allocations: 91.06 MB / 0.5858 GB, free: 404 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9822, allocations: 0 / 0.5858 GB, free: 404 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002972/0.9825, allocations: 91.94 kB / 0.5859 GB, free: 312 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.3273/1.31, allocations: 4.391 MB / 0.5902 GB, free: 76.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.31, allocations: 8.922 kB / 0.5902 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004392/1.314, allocations: 0.8295 MB / 0.591 GB, free: 76.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03392/1.348, allocations: 4.435 MB / 0.5954 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/1.367, allocations: 4.754 MB / 0.6 GB, free: 75.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005763/1.368, allocations: 351.9 kB / 0.6003 GB, free: 75.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/1.371, allocations: 462.7 kB / 0.6008 GB, free: 75.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03322/1.404, allocations: 10.67 MB / 0.6112 GB, free: 73.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000553/1.405, allocations: 67.36 kB / 0.6113 GB, free: 73.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002894/1.408, allocations: 223 kB / 0.6115 GB, free: 73.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/1.41, allocations: 0.9904 MB / 0.6125 GB, free: 73.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02848/1.439, allocations: 8.649 MB / 0.6209 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07352/1.512, allocations: 46.88 MB / 0.6667 GB, free: 40.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009668/1.522, allocations: 3.008 MB / 0.6696 GB, free: 38.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006735/1.523, allocations: 346.2 kB / 0.6699 GB, free: 38.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.523, allocations: 47.44 kB / 0.67 GB, free: 38.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.963e-06/1.523, allocations: 0 / 0.67 GB, free: 38.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.05388/1.577, allocations: 13.9 MB / 0.6836 GB, free: 32.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.577, allocations: 203.6 kB / 0.6838 GB, free: 32.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007898/1.585, allocations: 3.385 MB / 0.6871 GB, free: 30.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004873/1.585, allocations: 55.08 kB / 0.6871 GB, free: 30.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00281/1.588, allocations: 3.222 MB / 0.6903 GB, free: 28.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.589, allocations: 0.734 MB / 0.691 GB, free: 27.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008293/1.59, allocations: 121.2 kB / 0.6911 GB, free: 27.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004617/1.591, allocations: 0.5539 MB / 0.6916 GB, free: 27.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006212/1.597, allocations: 2.117 MB / 0.6937 GB, free: 26.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008727/1.606, allocations: 5.773 MB / 0.6993 GB, free: 20.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008687/1.615, allocations: 3.422 MB / 0.7027 GB, free: 19.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.615, allocations: 40.53 kB / 0.7027 GB, free: 19.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02193/1.637, allocations: 7.88 MB / 0.7104 GB, free: 16.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.637, allocations: 60.78 kB / 0.7105 GB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/1.637, allocations: 129.5 kB / 0.7106 GB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/1.638, allocations: 382.8 kB / 0.711 GB, free: 16.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009005/1.647, allocations: 1.422 MB / 0.7124 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/1.652, allocations: 3.054 MB / 0.7153 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006865/1.659, allocations: 349.2 kB / 0.7157 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.661, allocations: 367.4 kB / 0.716 GB, free: 13.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 740 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005966/1.667, allocations: 2.233 MB / 0.7182 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009459/1.668, allocations: 339.6 kB / 0.7185 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008662/1.676, allocations: 2.822 MB / 0.7213 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.682e-05/1.676, allocations: 24 kB / 0.7213 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.676, allocations: 0 / 0.7213 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/1.677, allocations: 11.64 kB / 0.7213 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/1.701, allocations: 7.637 MB / 0.7288 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/1.701, allocations: 0 / 0.7288 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003468/1.704, allocations: 357 kB / 0.7291 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009797/1.705, allocations: 184.4 kB / 0.7293 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004774/1.706, allocations: 35.28 kB / 0.7293 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004358/1.71, allocations: 2.605 MB / 0.7319 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.71, allocations: 0 / 0.7319 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.726, allocations: 5.461 MB / 0.7372 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002677/1.729, allocations: 0.6327 MB / 0.7378 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.73, allocations: 35.17 kB / 0.7378 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.733, allocations: 124.6 kB / 0.738 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006824/1.734, allocations: 129 kB / 0.7381 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002265/1.734, allocations: 58.94 kB / 0.7381 GB, free: 10.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006878/1.741, allocations: 2.363 MB / 0.7405 GB, free: 8.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.741, allocations: 0 / 0.7405 GB, free: 8.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007699/1.749, allocations: 0.9881 MB / 0.7414 GB, free: 7.141 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01706/1.766, allocations: 6.265 MB / 0.7475 GB, free: 1.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.373/2.139, allocations: 5.101 MB / 0.7525 GB, free: 84.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/2.139, allocations: 3.719 kB / 0.7525 GB, free: 84.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005094/2.144, allocations: 1.632 MB / 0.7541 GB, free: 84.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/2.148, allocations: 392.8 kB / 0.7545 GB, free: 84.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1176/2.266, allocations: 122.3 MB / 0.8739 GB, free: 28.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/2.276, allocations: 3.548 MB / 0.8774 GB, free: 27.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01097/2.287, allocations: 1.943 MB / 0.8793 GB, free: 27.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00603/2.293, allocations: 1.996 MB / 0.8812 GB, free: 27.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/2.293, allocations: 0 / 0.8812 GB, free: 27.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5278/2.821, allocations: 74.33 MB / 0.9538 GB, free: 108.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/2.821, allocations: 210 kB / 0.954 GB, free: 108.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.345/8.166, allocations: 1.062 kB / 0.954 GB, free: 108.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat