Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008223/0.0008222, allocations: 92.05 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2518/0.2518, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.128e-05, allocations: 7.938 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6519, allocations: 106.6 MB / 0.6059 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.6522, allocations: 79.95 kB / 0.606 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1965/0.8488, allocations: 78.93 MB / 0.683 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8488, allocations: 0 / 0.683 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001525/0.849, allocations: 71.98 kB / 0.6831 GB, free: 14.92 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01123/0.8602, allocations: 3.487 MB / 0.6865 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.8603, allocations: 12.03 kB / 0.6865 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00255/0.8629, allocations: 0.7873 MB / 0.6873 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.8777, allocations: 3.344 MB / 0.6906 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006917/0.8847, allocations: 2.309 MB / 0.6928 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/0.8851, allocations: 303.8 kB / 0.6931 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002279/0.8874, allocations: 391.9 kB / 0.6935 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.9079, allocations: 10.4 MB / 0.7036 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.908, allocations: 47.56 kB / 0.7037 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006718/0.9087, allocations: 195.9 kB / 0.7039 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001437/0.9101, allocations: 1.092 MB / 0.7049 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.409/1.319, allocations: 9.031 MB / 0.7137 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06242/1.382, allocations: 46.21 MB / 0.7589 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/1.388, allocations: 3.359 MB / 0.7622 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.389, allocations: 1.214 MB / 0.7633 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008724/1.398, allocations: 5.039 MB / 0.7683 GB, free: 97.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.398, allocations: 49.88 kB / 0.7683 GB, free: 97.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 4.188e-06/1.398, allocations: 3.344 kB / 0.7683 GB, free: 97.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.005438/1.403, allocations: 2.502 MB / 0.7708 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/1.404, allocations: 173.4 kB / 0.7709 GB, free: 96.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00522/1.409, allocations: 3.407 MB / 0.7742 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/1.409, allocations: 42.66 kB / 0.7743 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/1.411, allocations: 3.234 MB / 0.7774 GB, free: 92.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/1.411, allocations: 0.61 MB / 0.778 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/1.411, allocations: 128.4 kB / 0.7782 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003104/1.412, allocations: 0.5806 MB / 0.7787 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/1.414, allocations: 1.871 MB / 0.7806 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004027/1.418, allocations: 6.016 MB / 0.7864 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/1.422, allocations: 3.423 MB / 0.7898 GB, free: 84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.779e-05/1.422, allocations: 47.41 kB / 0.7898 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.0112/1.434, allocations: 7.546 MB / 0.7972 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.505e-05/1.434, allocations: 71.03 kB / 0.7973 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/1.434, allocations: 147.1 kB / 0.7974 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/1.434, allocations: 215.6 kB / 0.7976 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/1.438, allocations: 1.46 MB / 0.799 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002184/1.439, allocations: 291.3 kB / 0.7993 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005754/1.444, allocations: 0.9147 MB / 0.8002 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009208/1.445, allocations: 395.9 kB / 0.8006 GB, free: 80.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (794): * Single equations (assignments): 788 * 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.00098/1.446, allocations: 0.5935 MB / 0.8012 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/1.447, allocations: 304.6 kB / 0.8015 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009619/1.448, allocations: 415.5 kB / 0.8018 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.25e-05/1.448, allocations: 41.25 kB / 0.8019 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/1.448, allocations: 0 / 0.8019 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.448, allocations: 11.3 kB / 0.8019 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009019/1.457, allocations: 5.588 MB / 0.8074 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.457, allocations: 11.86 kB / 0.8074 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009232/1.458, allocations: 204.9 kB / 0.8076 GB, free: 77.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/1.458, allocations: 11.81 kB / 0.8076 GB, free: 77.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/1.458, allocations: 24.98 kB / 0.8076 GB, free: 77.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/1.458, allocations: 18.89 kB / 0.8076 GB, free: 77.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/1.458, allocations: 11.88 kB / 0.8076 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/1.461, allocations: 3.085 MB / 0.8106 GB, free: 75.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.462, allocations: 389.6 kB / 0.811 GB, free: 75.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/1.463, allocations: 23.67 kB / 0.811 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/1.464, allocations: 71.39 kB / 0.8111 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.464, allocations: 79.41 kB / 0.8112 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.044e-05/1.464, allocations: 42.19 kB / 0.8112 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003609/1.467, allocations: 2.313 MB / 0.8135 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.413e-06/1.467, allocations: 4 kB / 0.8135 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005725/1.473, allocations: 1.109 MB / 0.8146 GB, free: 73.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * 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.003601/1.477, allocations: 5.072 MB / 0.8195 GB, free: 69.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006558/1.483, allocations: 4.321 MB / 0.8237 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.483, allocations: 0 / 0.8237 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.484, allocations: 0.945 MB / 0.8247 GB, free: 65.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.487, allocations: 324.4 kB / 0.825 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.51, allocations: 8.313 MB / 0.8331 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0046/1.514, allocations: 3.286 MB / 0.8363 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005395/1.52, allocations: 2.24 MB / 0.8385 GB, free: 53.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002338/1.522, allocations: 1.697 MB / 0.8401 GB, free: 51.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.963e-06/1.522, allocations: 0 / 0.8401 GB, free: 51.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.63, allocations: 64.55 MB / 0.9032 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.63, allocations: 152.4 kB / 0.9033 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.095/5.725, allocations: 3.938 kB / 0.9033 GB, free: 7.734 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat