Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.009773/0.009773, allocations: 163.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.768/1.768, 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.002003/0.002002, allocations: 118.5 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.4967/0.4967, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004799, allocations: 16 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 48.7 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5397, allocations: 96.13 MB / 0.4959 GB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5401, allocations: 73.03 kB / 0.496 GB, free: 7.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8531/1.393, allocations: 138.1 MB / 0.6309 GB, free: 71.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.508e-06/1.393, allocations: 4 kB / 0.6309 GB, free: 71.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005773/1.394, allocations: 134.5 kB / 0.631 GB, free: 71.59 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.03412/1.428, allocations: 7.285 MB / 0.6381 GB, free: 68.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.428, allocations: 10.12 kB / 0.6381 GB, free: 68.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00601/1.434, allocations: 1.236 MB / 0.6394 GB, free: 68.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05208/1.486, allocations: 7.181 MB / 0.6464 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/1.513, allocations: 7.561 MB / 0.6538 GB, free: 67.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007221/1.514, allocations: 0.5224 MB / 0.6543 GB, free: 67.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004098/1.518, allocations: 0.677 MB / 0.6549 GB, free: 67.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0538/1.572, allocations: 17.22 MB / 0.6717 GB, free: 58.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004613/1.572, allocations: 89.22 kB / 0.6718 GB, free: 58.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003156/1.575, allocations: 334.2 kB / 0.6721 GB, free: 58.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003467/1.579, allocations: 1.624 MB / 0.6737 GB, free: 58.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04509/1.624, allocations: 14.35 MB / 0.6877 GB, free: 53.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4386/2.063, allocations: 72.24 MB / 0.7583 GB, free: 72.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/2.096, allocations: 7.19 MB / 0.7653 GB, free: 72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02877/2.125, allocations: 9.478 MB / 0.7746 GB, free: 70.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/2.125, allocations: 72.25 kB / 0.7746 GB, free: 70.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=297): time 6.573e-06/2.125, allocations: 0 / 0.7746 GB, free: 70.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.1483/2.273, allocations: 32.16 MB / 0.806 GB, free: 64.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/2.273, allocations: 245.3 kB / 0.8063 GB, free: 64.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01936/2.293, allocations: 5.953 MB / 0.8121 GB, free: 63.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001271/2.294, allocations: 76.61 kB / 0.8122 GB, free: 63.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006342/2.3, allocations: 4.809 MB / 0.8169 GB, free: 59.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002857/2.303, allocations: 1.267 MB / 0.8181 GB, free: 58.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/2.305, allocations: 177.1 kB / 0.8183 GB, free: 58.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008409/2.306, allocations: 0.683 MB / 0.8189 GB, free: 58.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01445/2.32, allocations: 3.731 MB / 0.8226 GB, free: 57.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01475/2.335, allocations: 8.767 MB / 0.8311 GB, free: 49.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/2.349, allocations: 5.594 MB / 0.8366 GB, free: 47.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/2.349, allocations: 51 kB / 0.8367 GB, free: 47.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.04052/2.39, allocations: 13.83 MB / 0.8502 GB, free: 42.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/2.39, allocations: 79.81 kB / 0.8502 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003164/2.39, allocations: 177.1 kB / 0.8504 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007312/2.398, allocations: 1.697 MB / 0.8521 GB, free: 42.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.412, allocations: 2.123 MB / 0.8541 GB, free: 42.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/2.434, allocations: 11.72 MB / 0.8656 GB, free: 35.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/2.446, allocations: 0.528 MB / 0.8661 GB, free: 35.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/2.448, allocations: 0.518 MB / 0.8666 GB, free: 34.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1089): * Single equations (assignments): 1084 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009617/2.458, allocations: 3.279 MB / 0.8698 GB, free: 31.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/2.46, allocations: 0.5822 MB / 0.8704 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02237/2.482, allocations: 7.53 MB / 0.8777 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-05/2.482, allocations: 39.95 kB / 0.8778 GB, free: 24.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/2.482, allocations: 12 kB / 0.8778 GB, free: 24.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.92e-05/2.482, allocations: 14.34 kB / 0.8778 GB, free: 24.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0505/2.533, allocations: 16.08 MB / 0.8935 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/2.533, allocations: 8.594 kB / 0.8935 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006588/2.54, allocations: 0.6239 MB / 0.8941 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006537/2.546, allocations: 1.424 MB / 0.8955 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009842/2.547, allocations: 68.62 kB / 0.8956 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/2.569, allocations: 10.92 MB / 0.9062 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/2.569, allocations: 4 kB / 0.9062 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03375/2.602, allocations: 12.72 MB / 0.9187 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005349/2.608, allocations: 1.208 MB / 0.9198 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002311/2.61, allocations: 59.8 kB / 0.9199 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00648/2.617, allocations: 228.1 kB / 0.9201 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001585/2.618, allocations: 205.2 kB / 0.9203 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005257/2.619, allocations: 98.59 kB / 0.9204 GB, free: 3.789 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3521/2.971, allocations: 4.277 MB / 0.9246 GB, free: 83.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.971, allocations: 0 / 0.9246 GB, free: 83.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01264/2.984, allocations: 1.691 MB / 0.9262 GB, free: 83.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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 {(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.03308/3.017, allocations: 14.11 MB / 0.94 GB, free: 81.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02263/3.039, allocations: 9.169 MB / 0.949 GB, free: 80.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/3.039, allocations: 1.031 kB / 0.949 GB, free: 80.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/3.05, allocations: 3.715 MB / 0.9526 GB, free: 80.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006778/3.057, allocations: 0.7104 MB / 0.9533 GB, free: 80.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5399/3.596, allocations: 188.5 MB / 1.137 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0134/3.61, allocations: 5.167 MB / 1.142 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01452/3.624, allocations: 2.968 MB / 1.145 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009155/3.634, allocations: 3.275 MB / 1.148 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/3.634, allocations: 0 / 1.148 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3344/3.968, allocations: 133.9 MB / 1.279 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/3.969, allocations: 212.1 kB / 1.279 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/12.4, allocations: 0 / 1.279 GB, free: 89.05 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat