Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque3",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.01049/0.0105, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.608/1.608, allocations: 170.8 MB / 186.6 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.002017/0.002017, allocations: 118.3 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.4669/0.4669, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004598, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5797, allocations: 97.17 MB / 0.4969 GB, free: 6.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.5801, allocations: 70.66 kB / 0.497 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192/1.772, allocations: 223 MB / 0.7148 GB, free: 31.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.917e-06/1.772, allocations: 0 / 0.7148 GB, free: 31.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008685/1.773, allocations: 240 kB / 0.715 GB, free: 31.37 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: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.05613/1.829, allocations: 12.27 MB / 0.727 GB, free: 19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.829, allocations: 8.031 kB / 0.727 GB, free: 18.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0107/1.84, allocations: 2.064 MB / 0.729 GB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09419/1.934, allocations: 12.63 MB / 0.7414 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4262/2.361, allocations: 12.59 MB / 0.7537 GB, free: 36.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001376/2.362, allocations: 0.9012 MB / 0.7546 GB, free: 36.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00773/2.37, allocations: 1.2 MB / 0.7557 GB, free: 36.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1024/2.472, allocations: 28.34 MB / 0.7834 GB, free: 31.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0015/2.474, allocations: 138.1 kB / 0.7835 GB, free: 31.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007819/2.482, allocations: 0.5513 MB / 0.7841 GB, free: 31.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007953/2.49, allocations: 2.679 MB / 0.7867 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08618/2.576, allocations: 23.55 MB / 0.8097 GB, free: 29.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2352/2.811, allocations: 116.8 MB / 0.9238 GB, free: 5.477 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.475/3.286, allocations: 15.17 MB / 0.9386 GB, free: 97.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004438/3.291, allocations: 2.345 MB / 0.9409 GB, free: 95.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/3.291, allocations: 94.39 kB / 0.941 GB, free: 95.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=559): time 1.041e-05/3.291, allocations: 3.75 kB / 0.941 GB, free: 95.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=643): time 0.2814/3.573, allocations: 62.12 MB / 1.002 GB, free: 86.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/3.573, allocations: 324 kB / 1.002 GB, free: 85.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02612/3.599, allocations: 9.067 MB / 1.011 GB, free: 85.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002407/3.601, allocations: 129.5 kB / 1.011 GB, free: 85.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00886/3.61, allocations: 7.728 MB / 1.018 GB, free: 80.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004913/3.615, allocations: 2.341 MB / 1.021 GB, free: 78.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003423/3.619, allocations: 286.6 kB / 1.021 GB, free: 78.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001395/3.62, allocations: 0.9069 MB / 1.022 GB, free: 78.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01861/3.639, allocations: 6.529 MB / 1.028 GB, free: 75.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02415/3.663, allocations: 14.09 MB / 1.042 GB, free: 63.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02452/3.688, allocations: 9.418 MB / 1.051 GB, free: 60.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003362/3.688, allocations: 75.62 kB / 1.051 GB, free: 60.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.07814/3.766, allocations: 23.5 MB / 1.074 GB, free: 41.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003188/3.766, allocations: 116 kB / 1.074 GB, free: 41.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006768/3.767, allocations: 267.9 kB / 1.075 GB, free: 41.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01916/3.786, allocations: 3.273 MB / 1.078 GB, free: 39.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0328/3.819, allocations: 3.494 MB / 1.081 GB, free: 36.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04685/3.866, allocations: 23.22 MB / 1.104 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01898/3.885, allocations: 0.8722 MB / 1.105 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003953/3.889, allocations: 0.8073 MB / 1.106 GB, free: 14.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1741): * Single equations (assignments): 1734 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.4095/4.299, allocations: 5.994 MB / 1.111 GB, free: 80.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004811/4.303, allocations: 0.9449 MB / 1.112 GB, free: 80.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05292/4.356, allocations: 14.6 MB / 1.127 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001462/4.357, allocations: 66.98 kB / 1.127 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001323/4.357, allocations: 17.91 kB / 1.127 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002071/4.357, allocations: 34.41 kB / 1.127 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1091/4.466, allocations: 31.27 MB / 1.157 GB, free: 78.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000104/4.466, allocations: 6.688 kB / 1.157 GB, free: 78.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01279/4.479, allocations: 1.218 MB / 1.158 GB, free: 78.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01408/4.493, allocations: 2.835 MB / 1.161 GB, free: 78.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002071/4.495, allocations: 118.5 kB / 1.161 GB, free: 78.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04354/4.539, allocations: 21.71 MB / 1.183 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/4.539, allocations: 12.75 kB / 1.183 GB, free: 68.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06145/4.6, allocations: 24.01 MB / 1.206 GB, free: 58.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008708/4.609, allocations: 2.042 MB / 1.208 GB, free: 57.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/4.613, allocations: 113.6 kB / 1.208 GB, free: 57.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01081/4.624, allocations: 484.9 kB / 1.209 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002366/4.626, allocations: 392.8 kB / 1.209 GB, free: 57.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007851/4.627, allocations: 165.3 kB / 1.209 GB, free: 57.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01747/4.644, allocations: 6.515 MB / 1.215 GB, free: 55.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/4.644, allocations: 0 / 1.215 GB, free: 55.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01953/4.664, allocations: 2.938 MB / 1.218 GB, free: 55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (554): * Single equations (assignments): 547 * 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 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06291/4.727, allocations: 25.21 MB / 1.243 GB, free: 36.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04052/4.767, allocations: 16.28 MB / 1.259 GB, free: 22.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/4.767, allocations: 4 kB / 1.259 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02166/4.789, allocations: 7.169 MB / 1.266 GB, free: 16.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01177/4.801, allocations: 1.198 MB / 1.267 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.376/6.177, allocations: 308.3 MB / 1.568 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02746/6.205, allocations: 8.308 MB / 1.576 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02507/6.23, allocations: 4.72 MB / 1.581 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01805/6.248, allocations: 5.86 MB / 1.587 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.994e-06/6.248, allocations: 2.062 kB / 1.587 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8902/7.138, allocations: 222.2 MB / 1.803 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/7.138, allocations: 190.5 kB / 1.804 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/19.88, allocations: 0 / 1.804 GB, free: 131.7 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat