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.001326/0.001326, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.443/1.443, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 93.91 kB / 292.1 MB, free: 10.96 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.4189/0.4189, allocations: 44.22 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 8 kB / 460 MB, free: 1.715 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4228, allocations: 61.9 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5776, allocations: 106.6 MB / 0.6138 GB, free: 4.504 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.5779, allocations: 87.94 kB / 0.6139 GB, free: 4.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5159/1.094, allocations: 78.87 MB / 0.6909 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.094, allocations: 0 / 0.6909 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002028/1.094, allocations: 73.22 kB / 0.691 GB, free: 100.1 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.01341/1.108, allocations: 3.593 MB / 0.6945 GB, free: 98.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.032e-05/1.108, allocations: 8.812 kB / 0.6945 GB, free: 98.42 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004521/1.112, allocations: 0.7883 MB / 0.6952 GB, free: 98.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/1.126, allocations: 3.351 MB / 0.6985 GB, free: 98.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008782/1.135, allocations: 2.3 MB / 0.7008 GB, free: 97.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004316/1.136, allocations: 300.4 kB / 0.7011 GB, free: 97.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/1.138, allocations: 394.6 kB / 0.7014 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02851/1.167, allocations: 10.48 MB / 0.7117 GB, free: 95.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004613/1.167, allocations: 48.5 kB / 0.7117 GB, free: 95.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002666/1.17, allocations: 197.9 kB / 0.7119 GB, free: 95.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/1.173, allocations: 1.1 MB / 0.713 GB, free: 95.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02291/1.195, allocations: 9.17 MB / 0.7219 GB, free: 92.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.058/1.254, allocations: 46.22 MB / 0.7671 GB, free: 58.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005362/1.259, allocations: 3.378 MB / 0.7704 GB, free: 56.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009868/1.269, allocations: 5.04 MB / 0.7753 GB, free: 53.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.269, allocations: 47.03 kB / 0.7753 GB, free: 53.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 6.823e-06/1.269, allocations: 3.656 kB / 0.7753 GB, free: 53.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.00712/1.276, allocations: 3.831 MB / 0.7791 GB, free: 51.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/1.276, allocations: 169.3 kB / 0.7792 GB, free: 51.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007911/1.284, allocations: 3.45 MB / 0.7826 GB, free: 50.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/1.284, allocations: 41.67 kB / 0.7826 GB, free: 50.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002469/1.287, allocations: 3.231 MB / 0.7858 GB, free: 47.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009163/1.288, allocations: 0.6063 MB / 0.7864 GB, free: 47.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006488/1.288, allocations: 125.7 kB / 0.7865 GB, free: 47.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007288/1.289, allocations: 0.583 MB / 0.7871 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/1.293, allocations: 1.909 MB / 0.7889 GB, free: 46.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005617/1.298, allocations: 6.056 MB / 0.7949 GB, free: 39.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004915/1.303, allocations: 3.421 MB / 0.7982 GB, free: 36.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.303, allocations: 40 kB / 0.7982 GB, free: 36.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01432/1.318, allocations: 7.621 MB / 0.8057 GB, free: 29.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/1.318, allocations: 68 kB / 0.8057 GB, free: 29.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/1.318, allocations: 151.9 kB / 0.8059 GB, free: 29.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/1.319, allocations: 216.8 kB / 0.8061 GB, free: 29.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/1.323, allocations: 1.461 MB / 0.8075 GB, free: 27.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000267/1.324, allocations: 302 kB / 0.8078 GB, free: 27.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/1.329, allocations: 0.9091 MB / 0.8087 GB, free: 26.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.33, allocations: 403.7 kB / 0.8091 GB, free: 26.45 MB / 490.7 MB 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 () * Number of clocked 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.004781/1.335, allocations: 2.225 MB / 0.8113 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006998/1.336, allocations: 311.9 kB / 0.8116 GB, free: 24.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/1.337, allocations: 415 kB / 0.812 GB, free: 23.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.238e-05/1.337, allocations: 35.61 kB / 0.812 GB, free: 23.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.789e-05/1.337, allocations: 4 kB / 0.812 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.337, allocations: 7.312 kB / 0.812 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.35, allocations: 5.593 MB / 0.8175 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.35, allocations: 4 kB / 0.8175 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/1.351, allocations: 210.7 kB / 0.8177 GB, free: 18.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/1.351, allocations: 8 kB / 0.8177 GB, free: 18.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.351, allocations: 32.59 kB / 0.8177 GB, free: 18.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.351, allocations: 15.31 kB / 0.8177 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.351, allocations: 12 kB / 0.8177 GB, free: 18.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/1.354, allocations: 3.111 MB / 0.8208 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.355, allocations: 386.5 kB / 0.8211 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007873/1.356, allocations: 27.52 kB / 0.8212 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.357, allocations: 64.62 kB / 0.8212 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.358, allocations: 77.69 kB / 0.8213 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.358, allocations: 51.55 kB / 0.8213 GB, free: 15.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004806/1.362, allocations: 2.34 MB / 0.8236 GB, free: 13.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.362, allocations: 0 / 0.8236 GB, free: 13.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006913/1.369, allocations: 1.102 MB / 0.8247 GB, free: 12.08 MB / 490.7 MB 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 () * Number of clocked 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.004015/1.373, allocations: 5.098 MB / 0.8297 GB, free: 7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006571/1.38, allocations: 4.367 MB / 0.8339 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.38, allocations: 0 / 0.8339 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.381, allocations: 0.9418 MB / 0.8349 GB, free: 2.254 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.383, allocations: 335.5 kB / 0.8352 GB, free: 1.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4/1.783, allocations: 131.8 MB / 0.9639 GB, free: 57.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004327/1.788, allocations: 3.295 MB / 0.9671 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005871/1.794, allocations: 2.235 MB / 0.9693 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/1.796, allocations: 1.696 MB / 0.9709 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of SimCode: time 2.044e-06/1.796, allocations: 0 / 0.9709 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1331/1.929, allocations: 64.05 MB / 1.033 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.929, allocations: 183.2 kB / 1.034 GB, free: 38.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.128/6.057, allocations: 4 kB / 1.034 GB, free: 38.93 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