Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01097/0.01097, allocations: 174.2 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.971/1.971, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002065/0.002064, allocations: 120.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2548/0.2548, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 11.41 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6028, allocations: 99.66 MB / 0.5477 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.6031, allocations: 78.75 kB / 0.5477 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6956/1.299, allocations: 169.9 MB / 0.7137 GB, free: 7.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.476e-06/1.299, allocations: 0 / 0.7137 GB, free: 7.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008274/1.3, allocations: 179.9 kB / 0.7138 GB, free: 7.492 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.7313/2.031, allocations: 9.028 MB / 0.7227 GB, free: 65.86 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/2.031, allocations: 6.562 kB / 0.7227 GB, free: 65.86 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007506/2.038, allocations: 1.47 MB / 0.7241 GB, free: 65.75 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1148/2.153, allocations: 12.08 MB / 0.7359 GB, free: 65.16 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03728/2.191, allocations: 11 MB / 0.7466 GB, free: 64.66 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008362/2.192, allocations: 0.6429 MB / 0.7473 GB, free: 64.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004723/2.196, allocations: 0.8517 MB / 0.7481 GB, free: 64.64 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06727/2.264, allocations: 19.99 MB / 0.7676 GB, free: 60.47 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007934/2.264, allocations: 105.9 kB / 0.7677 GB, free: 60.46 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004699/2.269, allocations: 406 kB / 0.7681 GB, free: 60.46 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004065/2.273, allocations: 1.823 MB / 0.7699 GB, free: 60.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05254/2.326, allocations: 16.28 MB / 0.7858 GB, free: 60.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1421/2.468, allocations: 82.1 MB / 0.866 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03511/2.503, allocations: 8.142 MB / 0.8739 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/2.504, allocations: 0.6612 MB / 0.8746 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/2.504, allocations: 75.89 kB / 0.8746 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 7.043e-06/2.504, allocations: 0 / 0.8746 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.139/2.643, allocations: 30.95 MB / 0.9049 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/2.644, allocations: 295.6 kB / 0.9051 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3965/3.04, allocations: 6.882 MB / 0.9119 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/3.041, allocations: 73.98 kB / 0.9119 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00754/3.049, allocations: 5.85 MB / 0.9176 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002569/3.052, allocations: 1.271 MB / 0.9189 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002414/3.054, allocations: 196.2 kB / 0.9191 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001449/3.055, allocations: 0.7158 MB / 0.9198 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0118/3.067, allocations: 3.525 MB / 0.9232 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01685/3.084, allocations: 9.194 MB / 0.9322 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/3.1, allocations: 5.563 MB / 0.9376 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004112/3.1, allocations: 56.78 kB / 0.9377 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.0394/3.14, allocations: 13.35 MB / 0.9507 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/3.14, allocations: 90.75 kB / 0.9508 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003829/3.14, allocations: 200.5 kB / 0.951 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004643/3.145, allocations: 1.052 MB / 0.952 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01495/3.16, allocations: 2.251 MB / 0.9542 GB, free: 85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/3.18, allocations: 11.47 MB / 0.9654 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01279/3.193, allocations: 0.5251 MB / 0.9659 GB, free: 79.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002839/3.196, allocations: 0.5738 MB / 0.9665 GB, free: 79.43 MB / 0.5105 GB 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.01239/3.208, allocations: 3.87 MB / 0.9703 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002575/3.211, allocations: 0.6837 MB / 0.9709 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02026/3.231, allocations: 6.038 MB / 0.9768 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-05/3.231, allocations: 40.16 kB / 0.9769 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/3.231, allocations: 7.062 kB / 0.9769 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.756e-05/3.231, allocations: 17.47 kB / 0.9769 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05191/3.283, allocations: 15.11 MB / 0.9917 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.315e-05/3.283, allocations: 3.422 kB / 0.9917 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006009/3.289, allocations: 0.5569 MB / 0.9922 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/3.293, allocations: 0.702 MB / 0.9929 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000955/3.294, allocations: 58.61 kB / 0.9929 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/3.311, allocations: 10.33 MB / 1.003 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/3.311, allocations: 0 / 1.003 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/3.337, allocations: 10.2 MB / 1.013 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005104/3.343, allocations: 1.191 MB / 1.014 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003015/3.346, allocations: 57.22 kB / 1.014 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006851/3.353, allocations: 193.4 kB / 1.014 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/3.354, allocations: 192.6 kB / 1.015 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007018/3.355, allocations: 94.66 kB / 1.015 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01488/3.369, allocations: 4.919 MB / 1.019 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/3.37, allocations: 0 / 1.019 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0148/3.384, allocations: 1.87 MB / 1.021 GB, free: 59.87 MB / 0.5105 GB 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.02774/3.412, allocations: 11.17 MB / 1.032 GB, free: 54.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02268/3.435, allocations: 8.998 MB / 1.041 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/3.435, allocations: 0 / 1.041 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008172/3.443, allocations: 3.245 MB / 1.044 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008883/3.452, allocations: 0.9257 MB / 1.045 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6453/4.097, allocations: 213 MB / 1.253 GB, free: 31.49 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01767/4.115, allocations: 6.117 MB / 1.259 GB, free: 30.58 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.01656/4.132, allocations: 3.093 MB / 1.262 GB, free: 30.51 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01149/4.143, allocations: 4.086 MB / 1.266 GB, free: 30.5 MB / 0.5887 GB Notification: Performance of SimCode: time 1.984e-06/4.143, allocations: 0 / 1.266 GB, free: 30.5 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7919/4.935, allocations: 150.1 MB / 1.413 GB, free: 137.3 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/4.936, allocations: 199.5 kB / 1.413 GB, free: 137.1 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.113/14.05, allocations: 0 / 1.413 GB, free: 137.1 MB / 0.5887 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat