Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002898/0.002898, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2945/0.2945, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.669e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 58.87 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5421/0.6688, allocations: 105.4 MB / 0.5758 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6692, allocations: 72.84 kB / 0.5759 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3512/1.02, allocations: 79.91 MB / 0.6539 GB, free: 6.156 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.02, allocations: 3.938 kB / 0.6539 GB, free: 6.152 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002148/1.021, allocations: 76 kB / 0.654 GB, free: 6.078 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01433/1.035, allocations: 3.571 MB / 0.6575 GB, free: 2.441 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/1.035, allocations: 8.031 kB / 0.6575 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003989/1.039, allocations: 0.808 MB / 0.6583 GB, free: 1.613 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02648/1.066, allocations: 3.383 MB / 0.6616 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009556/1.075, allocations: 2.352 MB / 0.6639 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/1.076, allocations: 308.1 kB / 0.6642 GB, free: 11.51 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/1.079, allocations: 403.9 kB / 0.6646 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04137/1.12, allocations: 10.66 MB / 0.675 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003461/1.121, allocations: 51.52 kB / 0.675 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003242/1.124, allocations: 199.9 kB / 0.6752 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003901/1.128, allocations: 1.139 MB / 0.6763 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0399/1.168, allocations: 9.291 MB / 0.6854 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5279/1.696, allocations: 46.98 MB / 0.7313 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009738/1.705, allocations: 3.465 MB / 0.7347 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/1.709, allocations: 1.247 MB / 0.7359 GB, free: 95.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01741/1.726, allocations: 5.322 MB / 0.7411 GB, free: 93.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/1.726, allocations: 49.33 kB / 0.7411 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 8.045e-06/1.726, allocations: 0 / 0.7411 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=153): time 0.01656/1.743, allocations: 2.537 MB / 0.7436 GB, free: 93.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/1.743, allocations: 166.4 kB / 0.7438 GB, free: 93.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008466/1.752, allocations: 3.477 MB / 0.7472 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002797/1.752, allocations: 47.02 kB / 0.7472 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002911/1.755, allocations: 3.318 MB / 0.7505 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.756, allocations: 0.6211 MB / 0.7511 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007475/1.757, allocations: 126.6 kB / 0.7512 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000506/1.757, allocations: 0.5939 MB / 0.7518 GB, free: 90.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004745/1.762, allocations: 1.903 MB / 0.7536 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007958/1.77, allocations: 6.174 MB / 0.7597 GB, free: 84.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007703/1.778, allocations: 3.487 MB / 0.7631 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000196/1.778, allocations: 41.97 kB / 0.7631 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01978/1.798, allocations: 7.655 MB / 0.7706 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.798, allocations: 67.84 kB / 0.7706 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/1.798, allocations: 156.1 kB / 0.7708 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/1.799, allocations: 222.2 kB / 0.771 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009017/1.808, allocations: 1.507 MB / 0.7725 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003175/1.808, allocations: 296.1 kB / 0.7728 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007181/1.815, allocations: 0.934 MB / 0.7737 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.817, allocations: 416.9 kB / 0.7741 GB, free: 83.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * 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.00186/1.819, allocations: 0.5935 MB / 0.7746 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007333/1.819, allocations: 323.8 kB / 0.775 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/1.821, allocations: 421.2 kB / 0.7754 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-05/1.821, allocations: 45.95 kB / 0.7754 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/1.821, allocations: 0 / 0.7754 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/1.821, allocations: 10.17 kB / 0.7754 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.837, allocations: 5.753 MB / 0.781 GB, free: 79.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/1.837, allocations: 10.34 kB / 0.781 GB, free: 79.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/1.839, allocations: 209.9 kB / 0.7812 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/1.839, allocations: 14.69 kB / 0.7813 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/1.84, allocations: 28.8 kB / 0.7813 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.76e-05/1.84, allocations: 13.84 kB / 0.7813 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.84, allocations: 11.33 kB / 0.7813 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004797/1.844, allocations: 3.222 MB / 0.7845 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.845, allocations: 393.4 kB / 0.7848 GB, free: 77.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007777/1.846, allocations: 29.12 kB / 0.7849 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.849, allocations: 61.52 kB / 0.7849 GB, free: 77.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/1.849, allocations: 89.06 kB / 0.785 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.849, allocations: 51.28 kB / 0.785 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006343/1.856, allocations: 2.36 MB / 0.7874 GB, free: 76.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.022e-06/1.856, allocations: 7.562 kB / 0.7874 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007189/1.863, allocations: 1.138 MB / 0.7885 GB, free: 76.31 MB / 0.4948 GB 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 () * 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.005899/1.869, allocations: 5.366 MB / 0.7937 GB, free: 72.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.879, allocations: 4.409 MB / 0.798 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.879, allocations: 1.938 kB / 0.798 GB, free: 70.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.881, allocations: 0.9523 MB / 0.7989 GB, free: 70.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.884, allocations: 334 kB / 0.7993 GB, free: 70.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/1.914, allocations: 9.027 MB / 0.8081 GB, free: 64.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007449/1.921, allocations: 3.367 MB / 0.8114 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004461/1.926, allocations: 1.803 MB / 0.8131 GB, free: 60.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/1.926, allocations: 0 / 0.8131 GB, free: 60.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.939/5.865, allocations: 77.95 MB / 0.8892 GB, free: 6.84 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat