Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor.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.Sensors.RelativeSensor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_RelativeSensor",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.01046/0.01046, allocations: 176.1 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.972/1.972, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002051/0.002051, allocations: 112.7 kB / 255.6 MB, free: 11.21 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.2591/0.2591, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006532, allocations: 10.38 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.128, allocations: 54.87 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5165/0.6446, allocations: 105.6 MB / 0.5535 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.6449, allocations: 78.45 kB / 0.5536 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.231/1.875, allocations: 248.2 MB / 0.7959 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.936e-06/1.876, allocations: 0 / 0.7959 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009291/1.876, allocations: 375.2 kB / 0.7963 GB, free: 64.01 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5962 * Number of variables: 5962 Notification: Performance of Generate backend data structure: time 0.06199/1.938, allocations: 16.15 MB / 0.8121 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.939, allocations: 7.094 kB / 0.8121 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0138/1.952, allocations: 3.076 MB / 0.8151 GB, free: 58.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05788/2.01, allocations: 8.288 MB / 0.8232 GB, free: 57.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04117/2.052, allocations: 12.45 MB / 0.8353 GB, free: 55.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001595/2.053, allocations: 1.498 MB / 0.8368 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008707/2.062, allocations: 1.971 MB / 0.8387 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1373/2.199, allocations: 42.66 MB / 0.8804 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001411/2.201, allocations: 150 kB / 0.8805 GB, free: 27.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008862/2.21, allocations: 0.8831 MB / 0.8814 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005716/2.215, allocations: 2.388 MB / 0.8837 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.547/2.762, allocations: 34.02 MB / 0.9169 GB, free: 49.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2699/3.032, allocations: 146.7 MB / 1.06 GB, free: 16.81 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.106/3.138, allocations: 22.52 MB / 1.082 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06231/3.201, allocations: 27.33 MB / 1.109 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.074e-05/3.201, allocations: 74.95 kB / 1.109 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=372): time 9.278e-06/3.201, allocations: 3.75 kB / 1.109 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=486): time 2.529/5.73, allocations: 299.8 MB / 1.402 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/5.73, allocations: 286.9 kB / 1.402 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0239/5.754, allocations: 9.031 MB / 1.411 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002683/5.757, allocations: 99.22 kB / 1.411 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009712/5.767, allocations: 10.82 MB / 1.421 GB, free: 93.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004685/5.772, allocations: 1.895 MB / 1.423 GB, free: 91.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004974/5.777, allocations: 337.8 kB / 1.424 GB, free: 91.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002315/5.779, allocations: 1.028 MB / 1.425 GB, free: 90.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03481/5.814, allocations: 15.92 MB / 1.44 GB, free: 84.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04161/5.855, allocations: 26.49 MB / 1.466 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04145/5.897, allocations: 19.93 MB / 1.486 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004123/5.897, allocations: 106.4 kB / 1.486 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2206) (initialization): time 0.5251/6.423, allocations: 42.27 MB / 1.527 GB, free: 96.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005334/6.423, allocations: 169.2 kB / 1.527 GB, free: 96.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001254/6.424, allocations: 375.3 kB / 1.527 GB, free: 96.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/6.429, allocations: 0.8677 MB / 1.528 GB, free: 96.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08383/6.513, allocations: 5.29 MB / 1.533 GB, free: 96.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009944/6.523, allocations: 5.756 MB / 1.539 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02959/6.553, allocations: 2.152 MB / 1.541 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005104/6.558, allocations: 1.023 MB / 1.542 GB, free: 93.71 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1714 * Number of states: 0 () * Number of discrete variables: 45 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (2150): * Single equations (assignments): 2140 * Array equations: 8 * 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 prepare postOptimizeDAE: time 0.023/6.581, allocations: 7.832 MB / 1.55 GB, free: 93.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004231/6.585, allocations: 0.8677 MB / 1.551 GB, free: 93.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07254/6.658, allocations: 30.26 MB / 1.58 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000179/6.658, allocations: 92.66 kB / 1.58 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/6.658, allocations: 6.375 kB / 1.58 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/6.658, allocations: 24.88 kB / 1.58 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1509/6.809, allocations: 72.44 MB / 1.651 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/6.809, allocations: 3.906 kB / 1.651 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02277/6.832, allocations: 2.112 MB / 1.653 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/6.834, allocations: 314.4 kB / 1.653 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002317/6.836, allocations: 87.08 kB / 1.654 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/6.842, allocations: 4.398 MB / 1.658 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/6.842, allocations: 3.844 kB / 1.658 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1028/6.945, allocations: 50.79 MB / 1.707 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01372/6.959, allocations: 3.948 MB / 1.711 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00526/6.964, allocations: 79.84 kB / 1.711 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02039/6.985, allocations: 1.63 MB / 1.713 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003795/6.988, allocations: 255.6 kB / 1.713 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001746/6.99, allocations: 132.6 kB / 1.713 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01684/7.007, allocations: 6.247 MB / 1.719 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.32e-07/7.007, allocations: 0 / 1.719 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02509/7.032, allocations: 4.27 MB / 1.724 GB, free: 0.9922 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (444): * Single equations (assignments): 434 * Array equations: 8 * 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%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5678/7.6, allocations: 54.6 MB / 1.777 GB, free: 102 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1144/7.715, allocations: 35.13 MB / 1.811 GB, free: 88.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/7.715, allocations: 2.938 kB / 1.811 GB, free: 88.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0366/7.751, allocations: 14.99 MB / 1.826 GB, free: 81.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01233/7.764, allocations: 1.338 MB / 1.827 GB, free: 80.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.323/9.087, allocations: 432.6 MB / 2.25 GB, free: 220.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03639/9.124, allocations: 11.35 MB / 2.261 GB, free: 217 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.04129/9.165, allocations: 7.393 MB / 2.268 GB, free: 216.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02589/9.191, allocations: 7.672 MB / 2.275 GB, free: 210.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/9.191, allocations: 3.875 kB / 2.275 GB, free: 210.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9904/10.18, allocations: 272.6 MB / 2.542 GB, free: 147.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/10.18, allocations: 213.4 kB / 2.542 GB, free: 147.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/21.48, allocations: 0 / 2.542 GB, free: 147.4 MB / 0.698 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.RelativeSensor_res.mat does not exist to compare? outputFormat=mat