Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001238, allocations: 93.97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1976/0.1976, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 63.47 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02392/0.1636, allocations: 22.11 MB / 0.4918 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1781, allocations: 6.209 MB / 0.4979 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.1822, allocations: 111.8 kB / 0.498 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.1857, allocations: 1.151 MB / 0.4991 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.196, allocations: 3.125 MB / 0.5022 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.1982, allocations: 0.5421 MB / 0.5027 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005025/0.2032, allocations: 2.008 MB / 0.5047 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2947/0.498, allocations: 2.786 MB / 0.5074 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.5004, allocations: 0.8228 MB / 0.5082 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.5034, allocations: 1.063 MB / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007711/0.5042, allocations: 123.1 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.5059, allocations: 0.5265 MB / 0.5099 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.5081, allocations: 1.336 MB / 0.5112 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.5098, allocations: 0.7673 MB / 0.5119 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008701/0.5186, allocations: 4.786 MB / 0.5166 GB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5186, allocations: 0 / 0.5166 GB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5186, allocations: 0 / 0.5166 GB, free: 11.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002521/0.5189, allocations: 0.9688 kB / 0.5166 GB, free: 11.5 MB / 382.1 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.008904/0.5278, allocations: 3.412 MB / 0.5199 GB, free: 9.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5278, allocations: 9.594 kB / 0.5199 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001848/0.5297, allocations: 0.7259 MB / 0.5206 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.5416, allocations: 3.642 MB / 0.5242 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005485/0.5471, allocations: 1.804 MB / 0.526 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.5474, allocations: 197 kB / 0.5261 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.5486, allocations: 249.2 kB / 0.5264 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.566, allocations: 10.24 MB / 0.5364 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.336e-05/0.5662, allocations: 31.69 kB / 0.5364 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005616/0.5667, allocations: 126.3 kB / 0.5365 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003597/0.5703, allocations: 2.374 MB / 0.5389 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.5866, allocations: 9.081 MB / 0.5477 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05596/0.6426, allocations: 38.18 MB / 0.585 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006097/0.6487, allocations: 3.378 MB / 0.5883 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009567/0.6583, allocations: 5.203 MB / 0.5934 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6584, allocations: 43.12 kB / 0.5934 GB, free: 1.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.188e-06/0.6584, allocations: 2.719 kB / 0.5934 GB, free: 1.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.007485/0.6659, allocations: 3.833 MB / 0.5972 GB, free: 13.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.666, allocations: 173.8 kB / 0.5973 GB, free: 12.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/0.672, allocations: 3.851 MB / 0.6011 GB, free: 9.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.6723, allocations: 43.34 kB / 0.6011 GB, free: 9.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002515/0.6748, allocations: 3.222 MB / 0.6043 GB, free: 5.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008603/0.6756, allocations: 0.611 MB / 0.6049 GB, free: 5.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.6759, allocations: 121 kB / 0.605 GB, free: 5.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004078/0.6764, allocations: 0.5868 MB / 0.6056 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/0.6794, allocations: 1.937 MB / 0.6075 GB, free: 2.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005872/0.6853, allocations: 6.107 MB / 0.6134 GB, free: 10.42 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005503/0.6908, allocations: 3.447 MB / 0.6168 GB, free: 6.988 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.691, allocations: 44 kB / 0.6168 GB, free: 6.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0171/0.7081, allocations: 7.694 MB / 0.6244 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.7082, allocations: 70.66 kB / 0.6244 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002179/0.7085, allocations: 148 kB / 0.6246 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.7087, allocations: 224 kB / 0.6248 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/0.714, allocations: 1.47 MB / 0.6262 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002845/0.7143, allocations: 297.4 kB / 0.6265 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/0.7201, allocations: 0.9223 MB / 0.6274 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/0.7214, allocations: 407.8 kB / 0.6278 GB, free: 11.74 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (797): * Single equations (assignments): 789 * Array equations: 8 * 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.005528/0.7269, allocations: 2.225 MB / 0.63 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007167/0.7276, allocations: 311.9 kB / 0.6303 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.7287, allocations: 407.4 kB / 0.6306 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.449e-05/0.7288, allocations: 41.94 kB / 0.6307 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.7288, allocations: 4 kB / 0.6307 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7289, allocations: 3.984 kB / 0.6307 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.7393, allocations: 5.534 MB / 0.6361 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.7393, allocations: 5.75 kB / 0.6361 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.7403, allocations: 207.7 kB / 0.6363 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/0.7403, allocations: 12 kB / 0.6363 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/0.7404, allocations: 26.66 kB / 0.6363 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/0.7404, allocations: 19.92 kB / 0.6364 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.7404, allocations: 4 kB / 0.6364 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.744, allocations: 3.112 MB / 0.6394 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/0.7449, allocations: 384.6 kB / 0.6398 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.7453, allocations: 26.34 kB / 0.6398 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7463, allocations: 63.91 kB / 0.6398 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.7465, allocations: 84.3 kB / 0.6399 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.7466, allocations: 49.08 kB / 0.64 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0047/0.7513, allocations: 2.339 MB / 0.6423 GB, free: 12.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7513, allocations: 0 / 0.6423 GB, free: 12.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007026/0.7584, allocations: 1.104 MB / 0.6433 GB, free: 11.49 MB / 494.1 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.004901/0.7633, allocations: 5.084 MB / 0.6483 GB, free: 6.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00795/0.7713, allocations: 4.405 MB / 0.6526 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.7713, allocations: 8.062 kB / 0.6526 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.7727, allocations: 0.9434 MB / 0.6535 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.7746, allocations: 337.7 kB / 0.6539 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2863/1.061, allocations: 120.8 MB / 0.7719 GB, free: 140.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005383/1.066, allocations: 3.291 MB / 0.7751 GB, free: 139.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006223/1.073, allocations: 2.239 MB / 0.7773 GB, free: 139.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002895/1.076, allocations: 1.698 MB / 0.7789 GB, free: 138.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.776e-06/1.076, allocations: 0 / 0.7789 GB, free: 138.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09037/1.166, allocations: 63.29 MB / 0.8407 GB, free: 87.32 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/1.166, allocations: 187.5 kB / 0.8409 GB, free: 87.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.711/4.877, allocations: 4 kB / 0.8409 GB, free: 87.07 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat