Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques",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.009881/0.009886, allocations: 166.3 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.722/1.722, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.00193/0.001929, allocations: 107.1 kB / 226.2 MB, free: 10.11 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.449/0.449, allocations: 38.04 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004587, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4378/0.546, allocations: 94.04 MB / 0.4939 GB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5463, allocations: 82.98 kB / 0.494 GB, free: 9.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8111/1.357, allocations: 114.3 MB / 0.6056 GB, free: 72.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.357, allocations: 0 / 0.6056 GB, free: 72.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004295/1.358, allocations: 107.5 kB / 0.6057 GB, free: 72.38 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02616/1.384, allocations: 5.939 MB / 0.6115 GB, free: 69.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.384, allocations: 6.375 kB / 0.6115 GB, free: 69.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005186/1.389, allocations: 0.9869 MB / 0.6125 GB, free: 69.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0524/1.442, allocations: 6.954 MB / 0.6193 GB, free: 69.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02598/1.468, allocations: 6.884 MB / 0.626 GB, free: 68.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008718/1.469, allocations: 417.9 kB / 0.6264 GB, free: 68.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004204/1.473, allocations: 0.5397 MB / 0.6269 GB, free: 68.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04257/1.516, allocations: 13.35 MB / 0.64 GB, free: 65.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004513/1.516, allocations: 77.69 kB / 0.64 GB, free: 65.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00285/1.519, allocations: 270.5 kB / 0.6403 GB, free: 65.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002806/1.522, allocations: 1.248 MB / 0.6415 GB, free: 65.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03237/1.554, allocations: 10.66 MB / 0.6519 GB, free: 63.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08584/1.64, allocations: 59.65 MB / 0.7102 GB, free: 18.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.659, allocations: 4.645 MB / 0.7147 GB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/1.677, allocations: 6.5 MB / 0.7211 GB, free: 29.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.677, allocations: 59.12 kB / 0.7211 GB, free: 28.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 6.412e-06/1.677, allocations: 0 / 0.7211 GB, free: 28.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.06664/1.743, allocations: 16.9 MB / 0.7376 GB, free: 15.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.743, allocations: 227.1 kB / 0.7378 GB, free: 15.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/1.758, allocations: 5.219 MB / 0.7429 GB, free: 10.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005243/1.758, allocations: 57.5 kB / 0.743 GB, free: 10.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005214/1.764, allocations: 4.122 MB / 0.747 GB, free: 7.137 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.765, allocations: 0.7636 MB / 0.7478 GB, free: 6.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/1.766, allocations: 144 kB / 0.7479 GB, free: 6.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006642/1.767, allocations: 0.6038 MB / 0.7485 GB, free: 5.711 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007127/1.774, allocations: 2.302 MB / 0.7507 GB, free: 3.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3426/2.117, allocations: 6.779 MB / 0.7574 GB, free: 77.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/2.128, allocations: 3.876 MB / 0.7611 GB, free: 77.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000282/2.129, allocations: 45.59 kB / 0.7612 GB, free: 77.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02702/2.156, allocations: 9.256 MB / 0.7702 GB, free: 76.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/2.156, allocations: 73.47 kB / 0.7703 GB, free: 76.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000335/2.156, allocations: 161.7 kB / 0.7705 GB, free: 76.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/2.159, allocations: 0.6197 MB / 0.7711 GB, free: 76.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/2.17, allocations: 1.637 MB / 0.7727 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/2.18, allocations: 5.825 MB / 0.7783 GB, free: 73.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009113/2.189, allocations: 388.8 kB / 0.7787 GB, free: 73.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/2.191, allocations: 445.7 kB / 0.7791 GB, free: 73.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (882): * Single equations (assignments): 877 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007966/2.199, allocations: 2.689 MB / 0.7818 GB, free: 73.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/2.2, allocations: 489.5 kB / 0.7822 GB, free: 73.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/2.21, allocations: 3.057 MB / 0.7852 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.103e-05/2.211, allocations: 22.34 kB / 0.7852 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/2.211, allocations: 11.55 kB / 0.7852 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/2.211, allocations: 16.94 kB / 0.7853 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02823/2.239, allocations: 8.47 MB / 0.7935 GB, free: 72.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/2.239, allocations: 3.781 kB / 0.7935 GB, free: 72.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/2.242, allocations: 326.7 kB / 0.7939 GB, free: 72.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/2.244, allocations: 358.9 kB / 0.7942 GB, free: 72.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000456/2.245, allocations: 39.56 kB / 0.7942 GB, free: 72.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008628/2.253, allocations: 5.176 MB / 0.7993 GB, free: 69.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/2.253, allocations: 7.656 kB / 0.7993 GB, free: 69.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/2.267, allocations: 6.155 MB / 0.8053 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003125/2.27, allocations: 0.7997 MB / 0.8061 GB, free: 66.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/2.272, allocations: 32.2 kB / 0.8061 GB, free: 66.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003937/2.276, allocations: 91.34 kB / 0.8062 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/2.277, allocations: 121.1 kB / 0.8063 GB, free: 65.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/2.277, allocations: 59.86 kB / 0.8064 GB, free: 65.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01009/2.287, allocations: 3.724 MB / 0.81 GB, free: 64.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.287, allocations: 3.531 kB / 0.81 GB, free: 64.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009143/2.296, allocations: 1.223 MB / 0.8112 GB, free: 64.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.01413/2.31, allocations: 7.335 MB / 0.8184 GB, free: 60.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01396/2.324, allocations: 5.721 MB / 0.824 GB, free: 58.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.324, allocations: 0 / 0.824 GB, free: 58.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003964/2.328, allocations: 1.704 MB / 0.8256 GB, free: 57.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005257/2.334, allocations: 0.5996 MB / 0.8262 GB, free: 57.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4804/2.814, allocations: 157.3 MB / 0.9798 GB, free: 74.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01085/2.825, allocations: 4.23 MB / 0.984 GB, free: 73.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01267/2.838, allocations: 2.319 MB / 0.9862 GB, free: 73.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006952/2.845, allocations: 2.574 MB / 0.9888 GB, free: 73.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/2.845, allocations: 0 / 0.9888 GB, free: 73.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2383/3.083, allocations: 99.85 MB / 1.086 GB, free: 23.21 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/3.083, allocations: 191.4 kB / 1.086 GB, free: 22.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/9.693, allocations: 3.938 kB / 1.086 GB, free: 22.97 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat