Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque2",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.01032/0.01032, allocations: 165.9 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.654/1.654, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001947/0.001946, allocations: 111.4 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.5081/0.5081, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004611, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 48.72 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5575, allocations: 98.6 MB / 0.4983 GB, free: 5.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5578, allocations: 77.53 kB / 0.4984 GB, free: 5.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207/1.764, allocations: 239.6 MB / 0.7324 GB, free: 13.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.008e-06/1.764, allocations: 0 / 0.7324 GB, free: 13.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008526/1.765, allocations: 251.9 kB / 0.7326 GB, free: 13.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: 4446 * Number of variables: 4446 Notification: Performance of Generate backend data structure: time 0.7832/2.549, allocations: 13.34 MB / 0.7457 GB, free: 22.82 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/2.549, allocations: 8.969 kB / 0.7457 GB, free: 22.82 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01119/2.56, allocations: 2.192 MB / 0.7478 GB, free: 22.67 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09604/2.656, allocations: 12.81 MB / 0.7603 GB, free: 21.98 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04802/2.704, allocations: 13.34 MB / 0.7734 GB, free: 21.39 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001759/2.706, allocations: 0.9516 MB / 0.7743 GB, free: 21.36 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007641/2.713, allocations: 1.269 MB / 0.7755 GB, free: 21.35 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1053/2.819, allocations: 30.15 MB / 0.805 GB, free: 15.19 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001217/2.82, allocations: 150.2 kB / 0.8051 GB, free: 15.18 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007015/2.827, allocations: 0.5851 MB / 0.8057 GB, free: 15.18 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006597/2.834, allocations: 2.859 MB / 0.8085 GB, free: 15.15 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0964/2.93, allocations: 24.67 MB / 0.8326 GB, free: 10.38 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.726/3.656, allocations: 127.7 MB / 0.9572 GB, free: 31.34 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06571/3.722, allocations: 14.08 MB / 0.971 GB, free: 30.58 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05966/3.782, allocations: 19.84 MB / 0.9904 GB, free: 27.61 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/3.782, allocations: 95.2 kB / 0.9904 GB, free: 27.57 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=562): time 1.051e-05/3.782, allocations: 7.219 kB / 0.9905 GB, free: 27.57 MB / 0.4949 GB Notification: Performance of matching and sorting (n=646): time 0.3139/4.096, allocations: 67.85 MB / 1.057 GB, free: 11.53 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003088/4.096, allocations: 379.8 kB / 1.057 GB, free: 11.15 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03617/4.133, allocations: 10.73 MB / 1.068 GB, free: 2.809 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002307/4.135, allocations: 121.7 kB / 1.068 GB, free: 2.684 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01271/4.148, allocations: 8.543 MB / 1.076 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00574/4.153, allocations: 2.381 MB / 1.078 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004059/4.158, allocations: 312 kB / 1.079 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002478/4.16, allocations: 0.9614 MB / 1.08 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0215/4.182, allocations: 6.767 MB / 1.086 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05533/4.237, allocations: 16.66 MB / 1.102 GB, free: 4.082 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03402/4.271, allocations: 10.26 MB / 1.112 GB, free: 12.36 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004076/4.272, allocations: 87.78 kB / 1.113 GB, free: 12.28 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.5199/4.792, allocations: 24.82 MB / 1.137 GB, free: 124.3 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003896/4.792, allocations: 131 kB / 1.137 GB, free: 124.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009422/4.793, allocations: 294 kB / 1.137 GB, free: 124.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01571/4.809, allocations: 3.311 MB / 1.14 GB, free: 124.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02708/4.836, allocations: 3.76 MB / 1.144 GB, free: 124.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05056/4.887, allocations: 23.25 MB / 1.167 GB, free: 119 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02215/4.909, allocations: 0.933 MB / 1.168 GB, free: 119 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005225/4.914, allocations: 0.8865 MB / 1.169 GB, free: 119 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * Number of states: 0 () * Number of discrete variables: 117 (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],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1897): * Single equations (assignments): 1890 * 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.01989/4.934, allocations: 5.745 MB / 1.174 GB, free: 118.8 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004818/4.939, allocations: 1.068 MB / 1.175 GB, free: 118.8 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05205/4.991, allocations: 14.75 MB / 1.19 GB, free: 118.4 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/4.991, allocations: 66.16 kB / 1.19 GB, free: 118.4 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001265/4.991, allocations: 21.44 kB / 1.19 GB, free: 118.4 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002171/4.991, allocations: 33.69 kB / 1.19 GB, free: 118.4 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.111/5.103, allocations: 32.53 MB / 1.222 GB, free: 109.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000147/5.103, allocations: 10.78 kB / 1.222 GB, free: 109.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01338/5.116, allocations: 1.277 MB / 1.223 GB, free: 109.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0139/5.13, allocations: 2.843 MB / 1.226 GB, free: 108.6 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002237/5.132, allocations: 121.8 kB / 1.226 GB, free: 108.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04716/5.18, allocations: 21.73 MB / 1.247 GB, free: 97.17 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.01e-05/5.18, allocations: 18.34 kB / 1.247 GB, free: 97.17 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06793/5.248, allocations: 26.32 MB / 1.273 GB, free: 79.37 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009978/5.258, allocations: 2.193 MB / 1.275 GB, free: 77.37 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005592/5.263, allocations: 116 kB / 1.275 GB, free: 77.26 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0128/5.276, allocations: 454.9 kB / 1.275 GB, free: 76.98 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003077/5.279, allocations: 410.3 kB / 1.276 GB, free: 76.71 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002181/5.282, allocations: 170.7 kB / 1.276 GB, free: 76.55 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.02369/5.305, allocations: 7.766 MB / 1.283 GB, free: 70.21 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.01e-07/5.305, allocations: 0 / 1.283 GB, free: 70.21 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02451/5.33, allocations: 3.103 MB / 1.286 GB, free: 67.12 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (553): * Single equations (assignments): 546 * 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.07013/5.4, allocations: 27.43 MB / 1.313 GB, free: 42.39 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.4613/5.861, allocations: 16.94 MB / 1.33 GB, free: 135 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.19e-05/5.862, allocations: 5.031 kB / 1.33 GB, free: 135 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02281/5.884, allocations: 7.124 MB / 1.337 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/5.898, allocations: 1.348 MB / 1.338 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8623/6.761, allocations: 348.8 MB / 1.679 GB, free: 19.86 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02583/6.786, allocations: 8.876 MB / 1.687 GB, free: 18.83 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0259/6.812, allocations: 5.154 MB / 1.692 GB, free: 18.73 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02663/6.839, allocations: 6.414 MB / 1.699 GB, free: 14.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.894e-06/6.839, allocations: 0 / 1.699 GB, free: 14.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.012/7.851, allocations: 239.9 MB / 1.933 GB, free: 46.06 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/7.852, allocations: 195.9 kB / 1.933 GB, free: 45.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/21.8, allocations: 3.938 kB / 1.933 GB, free: 45.81 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2_res.mat does not exist to compare? outputFormat=mat