Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.01005/0.01005, 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 2.054/2.054, allocations: 194.5 MB / 210.3 MB, free: 8.781 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.002093/0.002092, allocations: 132.6 kB / 255.6 MB, free: 11.39 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.2601/0.2601, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004946, allocations: 14.38 kB / 406.3 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 54.87 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/0.6306, allocations: 99.27 MB / 0.5473 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.6309, allocations: 79.31 kB / 0.5473 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.319/0.9499, allocations: 79.78 MB / 0.6253 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.125e-06/0.95, allocations: 0 / 0.6253 GB, free: 1.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002008/0.9502, allocations: 79.94 kB / 0.6253 GB, free: 1.754 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01364/0.9638, allocations: 3.672 MB / 0.6289 GB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.9639, allocations: 12.03 kB / 0.6289 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003939/0.9679, allocations: 0.8119 MB / 0.6297 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02593/0.9938, allocations: 3.374 MB / 0.633 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009125/1.003, allocations: 2.327 MB / 0.6353 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005148/1.004, allocations: 308 kB / 0.6356 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002772/1.006, allocations: 403.9 kB / 0.636 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/1.039, allocations: 10.74 MB / 0.6465 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001977/1.039, allocations: 51.56 kB / 0.6465 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/1.041, allocations: 199.9 kB / 0.6467 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002569/1.044, allocations: 1.139 MB / 0.6478 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02819/1.072, allocations: 9.422 MB / 0.657 GB, free: 1.062 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08155/1.154, allocations: 46.9 MB / 0.7028 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009803/1.163, allocations: 3.485 MB / 0.7062 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01574/1.179, allocations: 5.318 MB / 0.7114 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.179, allocations: 47.06 kB / 0.7115 GB, free: 7.324 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.46e-06/1.179, allocations: 0 / 0.7115 GB, free: 7.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01347/1.193, allocations: 3.873 MB / 0.7152 GB, free: 3.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.193, allocations: 166.8 kB / 0.7154 GB, free: 3.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.34/1.533, allocations: 3.479 MB / 0.7188 GB, free: 127.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/1.533, allocations: 43.77 kB / 0.7188 GB, free: 127.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003445/1.537, allocations: 3.316 MB / 0.7221 GB, free: 126.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.538, allocations: 0.6185 MB / 0.7227 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009309/1.539, allocations: 127.3 kB / 0.7228 GB, free: 126.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005484/1.539, allocations: 0.59 MB / 0.7234 GB, free: 126 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005554/1.545, allocations: 1.942 MB / 0.7253 GB, free: 125.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009453/1.555, allocations: 6.19 MB / 0.7313 GB, free: 120.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008802/1.563, allocations: 3.486 MB / 0.7347 GB, free: 120.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002875/1.564, allocations: 44.05 kB / 0.7348 GB, free: 120.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02201/1.586, allocations: 7.771 MB / 0.7423 GB, free: 119.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/1.586, allocations: 72.53 kB / 0.7424 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/1.586, allocations: 150.3 kB / 0.7426 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/1.586, allocations: 220.1 kB / 0.7428 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008696/1.595, allocations: 1.498 MB / 0.7442 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003166/1.596, allocations: 305.1 kB / 0.7445 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007073/1.603, allocations: 0.9329 MB / 0.7454 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.604, allocations: 407.8 kB / 0.7458 GB, free: 118.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (813): * Single equations (assignments): 807 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005295/1.609, allocations: 2.277 MB / 0.748 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/1.61, allocations: 316.7 kB / 0.7484 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.611, allocations: 417.3 kB / 0.7487 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.589e-05/1.611, allocations: 42.25 kB / 0.7488 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.611, allocations: 0 / 0.7488 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.611, allocations: 6.484 kB / 0.7488 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.625, allocations: 5.761 MB / 0.7544 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/1.625, allocations: 6.438 kB / 0.7544 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.627, allocations: 211 kB / 0.7546 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-05/1.627, allocations: 10.81 kB / 0.7546 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/1.627, allocations: 37.98 kB / 0.7547 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/1.627, allocations: 10.69 kB / 0.7547 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.627, allocations: 14.84 kB / 0.7547 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004445/1.631, allocations: 3.234 MB / 0.7579 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.633, allocations: 401.4 kB / 0.7582 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007313/1.633, allocations: 28.11 kB / 0.7583 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.636, allocations: 68.94 kB / 0.7583 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/1.636, allocations: 86.97 kB / 0.7584 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.636, allocations: 48.03 kB / 0.7585 GB, free: 115.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005971/1.642, allocations: 2.376 MB / 0.7608 GB, free: 115.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.293e-06/1.642, allocations: 0 / 0.7608 GB, free: 115.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007304/1.65, allocations: 1.13 MB / 0.7619 GB, free: 114.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005684/1.655, allocations: 5.378 MB / 0.7671 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/1.666, allocations: 4.443 MB / 0.7715 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.666, allocations: 448 / 0.7715 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.668, allocations: 0.9642 MB / 0.7724 GB, free: 109 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.67, allocations: 327.9 kB / 0.7727 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09223/1.762, allocations: 134.8 MB / 0.9044 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00802/1.77, allocations: 3.36 MB / 0.9077 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01017/1.781, allocations: 2.278 MB / 0.9099 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004344/1.785, allocations: 1.732 MB / 0.9116 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/1.785, allocations: 0 / 0.9116 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4887/2.274, allocations: 65.14 MB / 0.9752 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/2.274, allocations: 177.1 kB / 0.9754 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.635/6.909, allocations: 0 / 0.9754 GB, free: 150.4 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat