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.001342/0.001342, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.5 MB / 230.7 MB, free: 7.551 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.0009486/0.0009484, allocations: 103 kB / 281.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1968/0.1968, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.242e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.65, allocations: 105.9 MB / 0.5982 GB, free: 6.496 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.6503, allocations: 71.97 kB / 0.5983 GB, free: 6.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1982/0.8486, allocations: 77.31 MB / 0.6738 GB, free: 8.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8486, allocations: 0 / 0.6738 GB, free: 8.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001452/0.8488, allocations: 75.98 kB / 0.6738 GB, free: 8.355 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01064/0.8594, allocations: 3.48 MB / 0.6772 GB, free: 4.812 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8595, allocations: 11.98 kB / 0.6772 GB, free: 4.801 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.8743, allocations: 3.348 MB / 0.6805 GB, free: 1.441 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006564/0.8809, allocations: 2.305 MB / 0.6828 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.8812, allocations: 128 kB / 0.6829 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.8831, allocations: 228 kB / 0.6831 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01223/0.8953, allocations: 6.474 MB / 0.6894 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/0.9184, allocations: 9.748 MB / 0.6989 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.9186, allocations: 47.56 kB / 0.699 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006974/0.9193, allocations: 32 kB / 0.699 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/0.9209, allocations: 1.112 MB / 0.7001 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3641/1.285, allocations: 45.33 MB / 0.7444 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/1.288, allocations: 2.75 MB / 0.7471 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/1.29, allocations: 1.005 MB / 0.748 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.604e-05/1.29, allocations: 18.66 kB / 0.7481 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.29, allocations: 47.62 kB / 0.7481 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 5.05e-06/1.29, allocations: 6.375 kB / 0.7481 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=171): time 0.005301/1.295, allocations: 2.328 MB / 0.7504 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/1.296, allocations: 170.8 kB / 0.7505 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007284/1.303, allocations: 3.073 MB / 0.7536 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004028/1.303, allocations: 26.77 kB / 0.7536 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.306, allocations: 3.29 MB / 0.7568 GB, free: 107 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001316/1.308, allocations: 0.6649 MB / 0.7574 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005512/1.308, allocations: 0 / 0.7574 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006053/1.309, allocations: 0.6611 MB / 0.7581 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/1.312, allocations: 1.864 MB / 0.7599 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005315/1.318, allocations: 6.303 MB / 0.7661 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005373/1.323, allocations: 3.504 MB / 0.7695 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001613/1.323, allocations: 45.19 kB / 0.7695 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.0165/1.34, allocations: 7.067 MB / 0.7764 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/1.34, allocations: 78.06 kB / 0.7765 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002489/1.34, allocations: 158.8 kB / 0.7767 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/1.34, allocations: 231.8 kB / 0.7769 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005255/1.346, allocations: 1.575 MB / 0.7784 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002026/1.346, allocations: 311.3 kB / 0.7787 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/1.352, allocations: 0.7964 MB / 0.7795 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.353, allocations: 433.4 kB / 0.7799 GB, free: 96.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 730 * 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 (855): * Single equations (assignments): 849 * 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.00134/1.354, allocations: 489.5 kB / 0.7804 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002738/1.357, allocations: 2.085 MB / 0.7824 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/1.358, allocations: 308.6 kB / 0.7827 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/1.36, allocations: 1.736 MB / 0.7844 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/1.36, allocations: 40.45 kB / 0.7844 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.36, allocations: 3.875 kB / 0.7844 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.36, allocations: 7.781 kB / 0.7844 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.371, allocations: 5.543 MB / 0.7899 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.371, allocations: 9.438 kB / 0.7899 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.372, allocations: 234 kB / 0.7901 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-05/1.372, allocations: 17.83 kB / 0.7901 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.372, allocations: 14.56 kB / 0.7901 GB, free: 92.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/1.372, allocations: 23.98 kB / 0.7901 GB, free: 92.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.372, allocations: 11.34 kB / 0.7902 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/1.375, allocations: 3.364 MB / 0.7934 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008468/1.376, allocations: 370.9 kB / 0.7938 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.376, allocations: 15.16 kB / 0.7938 GB, free: 90.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.378, allocations: 48.66 kB / 0.7939 GB, free: 90.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/1.378, allocations: 91.52 kB / 0.7939 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.378, allocations: 51.33 kB / 0.794 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003174/1.381, allocations: 1.993 MB / 0.7959 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/1.381, allocations: 2.516 kB / 0.7959 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006411/1.387, allocations: 0.9922 MB / 0.7969 GB, free: 89.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * 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.003881/1.391, allocations: 5.656 MB / 0.8024 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006494/1.398, allocations: 4.302 MB / 0.8066 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.398, allocations: 0 / 0.8066 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/1.399, allocations: 1.025 MB / 0.8076 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/1.401, allocations: 278.6 kB / 0.8079 GB, free: 83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.42, allocations: 8.374 MB / 0.8161 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004829/1.425, allocations: 3.298 MB / 0.8193 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006965/1.432, allocations: 2.444 MB / 0.8217 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003025/1.435, allocations: 1.713 MB / 0.8234 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/1.435, allocations: 0 / 0.8234 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.536, allocations: 61.89 MB / 0.8838 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/1.537, allocations: 141.6 kB / 0.8839 GB, free: 16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/5.691, allocations: 3.938 kB / 0.8839 GB, free: 15.99 MB / 0.5105 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