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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009425/0.0009426, allocations: 90.12 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1773/0.1773, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.222e-05, allocations: 6.812 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.09957, allocations: 63.24 MB / 0.5115 GB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4568, allocations: 107.6 MB / 0.6166 GB, free: 2.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.457, allocations: 79.2 kB / 0.6166 GB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1769/0.6339, allocations: 80.3 MB / 0.6951 GB, free: 10.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6339, allocations: 0 / 0.6951 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001116/0.6341, allocations: 72 kB / 0.6951 GB, free: 9.938 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.005509/0.6396, allocations: 3.496 MB / 0.6985 GB, free: 6.379 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6396, allocations: 19.97 kB / 0.6986 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001024/0.6407, allocations: 0.7873 MB / 0.6993 GB, free: 5.559 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.6532, allocations: 3.356 MB / 0.7026 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.6581, allocations: 2.293 MB / 0.7048 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.6583, allocations: 299.8 kB / 0.7051 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007403/0.659, allocations: 395.9 kB / 0.7055 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.6736, allocations: 10.4 MB / 0.7157 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.864e-05/0.6737, allocations: 47.56 kB / 0.7157 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005/0.6742, allocations: 195.9 kB / 0.7159 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/0.6755, allocations: 1.096 MB / 0.717 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.6889, allocations: 9.032 MB / 0.7258 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2827/0.9716, allocations: 46.2 MB / 0.7709 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/0.9765, allocations: 3.364 MB / 0.7742 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.978, allocations: 1.212 MB / 0.7754 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00772/0.9858, allocations: 5.046 MB / 0.7803 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.9858, allocations: 48.95 kB / 0.7804 GB, free: 106 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 4.228e-06/0.9858, allocations: 0 / 0.7804 GB, free: 106 MB / 0.5261 GB Notification: Performance of matching and sorting (n=150): time 0.005397/0.9912, allocations: 2.503 MB / 0.7828 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.9913, allocations: 179 kB / 0.783 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/0.9959, allocations: 3.405 MB / 0.7863 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.996, allocations: 44.58 kB / 0.7863 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.9975, allocations: 3.234 MB / 0.7895 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.998, allocations: 0.6114 MB / 0.7901 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.9982, allocations: 122.3 kB / 0.7902 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000286/0.9985, allocations: 0.5787 MB / 0.7908 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/1.001, allocations: 1.869 MB / 0.7926 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/1.004, allocations: 6.021 MB / 0.7985 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/1.008, allocations: 3.415 MB / 0.8018 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.689e-05/1.008, allocations: 42.31 kB / 0.8019 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.008683/1.017, allocations: 7.545 MB / 0.8092 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.359e-05/1.017, allocations: 72.77 kB / 0.8093 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.952e-05/1.017, allocations: 149.3 kB / 0.8094 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/1.017, allocations: 219.9 kB / 0.8096 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/1.02, allocations: 1.464 MB / 0.8111 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/1.021, allocations: 293.3 kB / 0.8114 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/1.024, allocations: 0.9061 MB / 0.8122 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/1.025, allocations: 398.7 kB / 0.8126 GB, free: 95.76 MB / 0.5261 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.0005171/1.025, allocations: 0.5859 MB / 0.8132 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/1.025, allocations: 319.8 kB / 0.8135 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/1.026, allocations: 409.3 kB / 0.8139 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.993e-05/1.026, allocations: 38.44 kB / 0.8139 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.026, allocations: 7.797 kB / 0.8139 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/1.026, allocations: 6.891 kB / 0.8139 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007184/1.033, allocations: 5.586 MB / 0.8194 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.033, allocations: 6.5 kB / 0.8194 GB, free: 92.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/1.034, allocations: 209.2 kB / 0.8196 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.034, allocations: 11.22 kB / 0.8196 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/1.034, allocations: 27.09 kB / 0.8196 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.034, allocations: 18.41 kB / 0.8197 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.034, allocations: 11.41 kB / 0.8197 GB, free: 92.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/1.037, allocations: 3.093 MB / 0.8227 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/1.037, allocations: 382.6 kB / 0.823 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/1.037, allocations: 27.81 kB / 0.8231 GB, free: 90.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/1.038, allocations: 68.27 kB / 0.8231 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.038, allocations: 85.83 kB / 0.8232 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/1.039, allocations: 46.22 kB / 0.8233 GB, free: 90.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002608/1.041, allocations: 2.307 MB / 0.8255 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/1.041, allocations: 0 / 0.8255 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003845/1.045, allocations: 1.106 MB / 0.8266 GB, free: 89.29 MB / 0.5261 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.002718/1.048, allocations: 5.077 MB / 0.8316 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005454/1.053, allocations: 4.321 MB / 0.8358 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.053, allocations: 0 / 0.8358 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.054, allocations: 0.9358 MB / 0.8367 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/1.056, allocations: 337.4 kB / 0.837 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.07, allocations: 8.302 MB / 0.8451 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/1.072, allocations: 3.29 MB / 0.8483 GB, free: 77.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004922/1.077, allocations: 2.251 MB / 0.8505 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/1.079, allocations: 1.694 MB / 0.8522 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/1.079, allocations: 0 / 0.8522 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0746/1.153, allocations: 64.53 MB / 0.9152 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/1.154, allocations: 156.3 kB / 0.9154 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/4.405, allocations: 3.938 kB / 0.9154 GB, free: 18.7 MB / 0.5261 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