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.002499/0.002498, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.017/2.017, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001148/0.001148, allocations: 93.25 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5373/0.5373, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004737, allocations: 15.98 kB / 431.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/0.6423, allocations: 105.5 MB / 0.5818 GB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.6427, allocations: 79.95 kB / 0.5819 GB, free: 12.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3471/0.9898, allocations: 79.85 MB / 0.6599 GB, free: 12.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.9898, allocations: 0 / 0.6599 GB, free: 12.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002129/0.9901, allocations: 76 kB / 0.66 GB, free: 12.41 MB / 490.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.01487/1.005, allocations: 3.685 MB / 0.6636 GB, free: 8.656 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.133e-05/1.005, allocations: 8.031 kB / 0.6636 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004049/1.009, allocations: 0.8158 MB / 0.6644 GB, free: 7.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02619/1.035, allocations: 3.379 MB / 0.6677 GB, free: 4.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0089/1.044, allocations: 2.352 MB / 0.67 GB, free: 2.027 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/1.045, allocations: 312.1 kB / 0.6703 GB, free: 1.719 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002599/1.047, allocations: 395.9 kB / 0.6706 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.439/1.487, allocations: 10.76 MB / 0.6812 GB, free: 93.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002991/1.487, allocations: 45.38 kB / 0.6812 GB, free: 93.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002114/1.489, allocations: 196.7 kB / 0.6814 GB, free: 93.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002538/1.492, allocations: 1.143 MB / 0.6825 GB, free: 93.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/1.517, allocations: 9.426 MB / 0.6917 GB, free: 93.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07606/1.593, allocations: 46.99 MB / 0.7376 GB, free: 62.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009802/1.603, allocations: 3.482 MB / 0.741 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01687/1.62, allocations: 5.326 MB / 0.7462 GB, free: 57.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/1.62, allocations: 49 kB / 0.7462 GB, free: 57.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 6.122e-06/1.62, allocations: 0 / 0.7462 GB, free: 57.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.0128/1.633, allocations: 3.874 MB / 0.75 GB, free: 56.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.633, allocations: 166.5 kB / 0.7502 GB, free: 56.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00898/1.642, allocations: 3.518 MB / 0.7536 GB, free: 54.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002941/1.643, allocations: 43.91 kB / 0.7537 GB, free: 54.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003044/1.646, allocations: 3.311 MB / 0.7569 GB, free: 52.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.647, allocations: 0.6204 MB / 0.7575 GB, free: 52.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009267/1.648, allocations: 128.3 kB / 0.7576 GB, free: 51.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006648/1.648, allocations: 0.5954 MB / 0.7582 GB, free: 51.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005135/1.654, allocations: 1.945 MB / 0.7601 GB, free: 50.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007887/1.662, allocations: 6.212 MB / 0.7662 GB, free: 44.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007733/1.669, allocations: 3.497 MB / 0.7696 GB, free: 43.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.67, allocations: 42.66 kB / 0.7696 GB, free: 43.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01904/1.689, allocations: 7.721 MB / 0.7772 GB, free: 40.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.689, allocations: 70.38 kB / 0.7772 GB, free: 40.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/1.689, allocations: 153.9 kB / 0.7774 GB, free: 40.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/1.689, allocations: 224.2 kB / 0.7776 GB, free: 40.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008547/1.698, allocations: 1.498 MB / 0.779 GB, free: 39.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002691/1.698, allocations: 301.4 kB / 0.7793 GB, free: 39.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/1.705, allocations: 0.9379 MB / 0.7803 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/1.706, allocations: 411.8 kB / 0.7806 GB, free: 39.24 MB / 490.7 MB 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 () * Number of clocked 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.005529/1.712, allocations: 2.28 MB / 0.7829 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007274/1.712, allocations: 321.8 kB / 0.7832 GB, free: 38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.714, allocations: 420.3 kB / 0.7836 GB, free: 37.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.086e-05/1.714, allocations: 41.64 kB / 0.7836 GB, free: 37.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.714, allocations: 4 kB / 0.7836 GB, free: 37.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.714, allocations: 10.95 kB / 0.7836 GB, free: 37.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.729, allocations: 5.763 MB / 0.7893 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.729, allocations: 3.906 kB / 0.7893 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/1.731, allocations: 216.4 kB / 0.7895 GB, free: 35.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/1.731, allocations: 14.86 kB / 0.7895 GB, free: 35.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.731, allocations: 33.44 kB / 0.7895 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/1.731, allocations: 10.56 kB / 0.7895 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.731, allocations: 15.34 kB / 0.7895 GB, free: 35.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/1.735, allocations: 3.239 MB / 0.7927 GB, free: 33.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.737, allocations: 392.7 kB / 0.7931 GB, free: 33.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009612/1.738, allocations: 30.28 kB / 0.7931 GB, free: 33.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.74, allocations: 73.41 kB / 0.7932 GB, free: 33.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/1.74, allocations: 81.61 kB / 0.7933 GB, free: 33.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.74, allocations: 45.38 kB / 0.7933 GB, free: 33.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005471/1.746, allocations: 2.402 MB / 0.7956 GB, free: 32.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.746, allocations: 0 / 0.7956 GB, free: 32.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007059/1.753, allocations: 1.145 MB / 0.7968 GB, free: 31.91 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.005737/1.759, allocations: 5.383 MB / 0.802 GB, free: 27.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009875/1.769, allocations: 4.447 MB / 0.8064 GB, free: 23.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.769, allocations: 0 / 0.8064 GB, free: 23.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/1.771, allocations: 0.9693 MB / 0.8073 GB, free: 22.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.773, allocations: 320.6 kB / 0.8076 GB, free: 22.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4557/2.229, allocations: 136 MB / 0.9404 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007547/2.236, allocations: 3.379 MB / 0.9437 GB, free: 43.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004345/2.241, allocations: 1.802 MB / 0.9455 GB, free: 43.15 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/2.241, allocations: 0 / 0.9455 GB, free: 43.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.01/6.25, allocations: 78.01 MB / 1.022 GB, free: 22.36 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