Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques2",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.01492/0.01492, allocations: 165.6 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.762/1.762, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002113/0.002113, allocations: 111.4 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.446/0.446, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004835, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5412, allocations: 92.84 MB / 0.4927 GB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5415, allocations: 74.59 kB / 0.4928 GB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9883/1.53, allocations: 169.8 MB / 0.6586 GB, free: 68.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.53, allocations: 0 / 0.6586 GB, free: 68.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000628/1.53, allocations: 168.7 kB / 0.6587 GB, free: 68.3 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.04016/1.571, allocations: 9.045 MB / 0.6675 GB, free: 63.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.571, allocations: 10.22 kB / 0.6676 GB, free: 63.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007679/1.578, allocations: 1.47 MB / 0.669 GB, free: 63.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08845/1.667, allocations: 12.07 MB / 0.6808 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03802/1.705, allocations: 10.99 MB / 0.6915 GB, free: 52.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008378/1.706, allocations: 0.6359 MB / 0.6921 GB, free: 52.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005017/1.711, allocations: 0.8513 MB / 0.693 GB, free: 52.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06707/1.778, allocations: 19.99 MB / 0.7125 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008398/1.779, allocations: 107 kB / 0.7126 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004797/1.784, allocations: 408.7 kB / 0.713 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/1.788, allocations: 1.809 MB / 0.7147 GB, free: 29.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05344/1.841, allocations: 16.28 MB / 0.7306 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5023/2.344, allocations: 82.07 MB / 0.8108 GB, free: 40.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03645/2.38, allocations: 8.134 MB / 0.8187 GB, free: 40.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/2.382, allocations: 0.6664 MB / 0.8194 GB, free: 39.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/2.382, allocations: 71.91 kB / 0.8194 GB, free: 39.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=311): time 7.975e-06/2.382, allocations: 0 / 0.8194 GB, free: 39.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=335): time 0.1376/2.519, allocations: 30.94 MB / 0.8497 GB, free: 29.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/2.52, allocations: 295.2 kB / 0.8499 GB, free: 28.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02028/2.54, allocations: 6.878 MB / 0.8567 GB, free: 26.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009394/2.541, allocations: 80.2 kB / 0.8567 GB, free: 26.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006134/2.547, allocations: 5.851 MB / 0.8625 GB, free: 22.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002329/2.549, allocations: 1.264 MB / 0.8637 GB, free: 21.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/2.551, allocations: 195.8 kB / 0.8639 GB, free: 20.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001312/2.553, allocations: 0.7093 MB / 0.8646 GB, free: 20.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009826/2.563, allocations: 3.525 MB / 0.868 GB, free: 19.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01404/2.577, allocations: 9.19 MB / 0.877 GB, free: 10.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/2.59, allocations: 5.565 MB / 0.8824 GB, free: 8.434 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002332/2.59, allocations: 59.12 kB / 0.8825 GB, free: 8.434 MB / 458.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.03868/2.629, allocations: 13.35 MB / 0.8955 GB, free: 3.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002194/2.629, allocations: 89.06 kB / 0.8956 GB, free: 3.477 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00038/2.63, allocations: 203.7 kB / 0.8958 GB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/2.634, allocations: 1.056 MB / 0.8968 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01521/2.649, allocations: 2.249 MB / 0.899 GB, free: 476 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/2.672, allocations: 11.47 MB / 0.9102 GB, free: 5.574 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/2.685, allocations: 0.5243 MB / 0.9107 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002799/2.687, allocations: 0.5679 MB / 0.9113 GB, free: 4.555 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01289/2.7, allocations: 3.887 MB / 0.9151 GB, free: 1.145 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/2.703, allocations: 0.6749 MB / 0.9158 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3876/3.09, allocations: 6.112 MB / 0.9217 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/3.091, allocations: 34.41 kB / 0.9218 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.049e-05/3.091, allocations: 9.844 kB / 0.9218 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/3.091, allocations: 17.25 kB / 0.9218 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05315/3.144, allocations: 15.1 MB / 0.9365 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-05/3.144, allocations: 6.25 kB / 0.9365 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006004/3.15, allocations: 0.5595 MB / 0.9371 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003681/3.154, allocations: 0.6987 MB / 0.9378 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001034/3.155, allocations: 65.06 kB / 0.9378 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/3.173, allocations: 10.33 MB / 0.9479 GB, free: 96.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/3.173, allocations: 1.25 kB / 0.9479 GB, free: 96.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03006/3.203, allocations: 10.2 MB / 0.9579 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005477/3.208, allocations: 1.191 MB / 0.959 GB, free: 93.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003143/3.212, allocations: 55.62 kB / 0.9591 GB, free: 93.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006936/3.218, allocations: 197.4 kB / 0.9593 GB, free: 93.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/3.22, allocations: 204.8 kB / 0.9595 GB, free: 93.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008068/3.221, allocations: 85.16 kB / 0.9595 GB, free: 93.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01526/3.236, allocations: 4.924 MB / 0.9644 GB, free: 91.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.333e-06/3.236, allocations: 0 / 0.9644 GB, free: 91.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01401/3.25, allocations: 1.865 MB / 0.9662 GB, free: 91.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02717/3.277, allocations: 11.16 MB / 0.9771 GB, free: 86.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02217/3.299, allocations: 8.999 MB / 0.9859 GB, free: 83.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/3.3, allocations: 3.031 kB / 0.9859 GB, free: 83.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007728/3.307, allocations: 3.235 MB / 0.989 GB, free: 82.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008368/3.316, allocations: 0.9421 MB / 0.9899 GB, free: 81.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.649/3.965, allocations: 213 MB / 1.198 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01861/3.983, allocations: 6.113 MB / 1.204 GB, free: 50.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0168/4, allocations: 3.089 MB / 1.207 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01104/4.011, allocations: 4.087 MB / 1.211 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of SimCode: time 3.116e-06/4.011, allocations: 0 / 1.211 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7267/4.738, allocations: 150 MB / 1.357 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/4.738, allocations: 202.3 kB / 1.358 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/13.72, allocations: 0 / 1.358 GB, free: 109.8 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat