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.001119/0.001119, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000936/0.0009361, allocations: 95.98 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 45.15 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.038e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/0.5921, allocations: 107 MB / 0.6089 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.5924, allocations: 79.77 kB / 0.609 GB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1984/0.7908, allocations: 78.7 MB / 0.6858 GB, free: 4.961 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7909, allocations: 0 / 0.6858 GB, free: 4.961 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002017/0.7911, allocations: 75.98 kB / 0.6859 GB, free: 4.887 MB / 474.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.01237/0.8035, allocations: 3.488 MB / 0.6893 GB, free: 1.336 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.8036, allocations: 8.031 kB / 0.6893 GB, free: 1.328 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.8184, allocations: 3.352 MB / 0.6926 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.8251, allocations: 2.301 MB / 0.6949 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.8255, allocations: 135.9 kB / 0.695 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002415/0.8279, allocations: 224 kB / 0.6952 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01575/0.8437, allocations: 6.478 MB / 0.7015 GB, free: 4.781 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/0.8683, allocations: 9.744 MB / 0.711 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002679/0.8686, allocations: 51.56 kB / 0.7111 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002188/0.8708, allocations: 28 kB / 0.7111 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001939/0.8727, allocations: 1.104 MB / 0.7122 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4145/1.287, allocations: 45.32 MB / 0.7565 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/1.291, allocations: 2.753 MB / 0.7591 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/1.292, allocations: 1.004 MB / 0.7601 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.434e-05/1.293, allocations: 21.19 kB / 0.7601 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.293, allocations: 50.94 kB / 0.7602 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=171): time 3.947e-06/1.293, allocations: 0 / 0.7602 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=171): time 0.00505/1.298, allocations: 2.328 MB / 0.7625 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/1.298, allocations: 172.9 kB / 0.7626 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/1.304, allocations: 3.076 MB / 0.7656 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/1.304, allocations: 27.17 kB / 0.7657 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002463/1.306, allocations: 3.286 MB / 0.7689 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009511/1.307, allocations: 0.6607 MB / 0.7695 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/1.307, allocations: 1.25 kB / 0.7695 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005215/1.308, allocations: 0.6531 MB / 0.7702 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/1.311, allocations: 1.87 MB / 0.772 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/1.316, allocations: 6.303 MB / 0.7781 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/1.321, allocations: 3.502 MB / 0.7816 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/1.321, allocations: 49.44 kB / 0.7816 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.01282/1.334, allocations: 7.078 MB / 0.7885 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.334, allocations: 74.73 kB / 0.7886 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/1.335, allocations: 163.1 kB / 0.7887 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/1.335, allocations: 234.1 kB / 0.789 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.339, allocations: 1.57 MB / 0.7905 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001837/1.34, allocations: 314.3 kB / 0.7908 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005013/1.345, allocations: 0.7997 MB / 0.7916 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007592/1.345, allocations: 429 kB / 0.792 GB, free: 107 MB / 0.5261 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.0008993/1.346, allocations: 488.1 kB / 0.7925 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002982/1.349, allocations: 2.084 MB / 0.7945 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004962/1.35, allocations: 314 kB / 0.7948 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/1.352, allocations: 1.732 MB / 0.7965 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/1.352, allocations: 40.11 kB / 0.7965 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.352, allocations: 3.844 kB / 0.7965 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.352, allocations: 6.188 kB / 0.7965 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008381/1.361, allocations: 5.554 MB / 0.802 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.361, allocations: 3.5 kB / 0.802 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/1.362, allocations: 235.5 kB / 0.8022 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/1.362, allocations: 11.81 kB / 0.8022 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/1.362, allocations: 14.62 kB / 0.8022 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/1.362, allocations: 18.12 kB / 0.8022 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.362, allocations: 15.39 kB / 0.8022 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/1.364, allocations: 3.366 MB / 0.8055 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/1.365, allocations: 374.7 kB / 0.8059 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.365, allocations: 10.84 kB / 0.8059 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/1.366, allocations: 47.23 kB / 0.8059 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.366, allocations: 91.8 kB / 0.806 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.367, allocations: 52.34 kB / 0.8061 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002546/1.369, allocations: 2 MB / 0.808 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.51e-07/1.369, allocations: 0 / 0.808 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005115/1.374, allocations: 0.9967 MB / 0.809 GB, free: 101.6 MB / 0.5261 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.003684/1.378, allocations: 5.648 MB / 0.8145 GB, free: 97.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008138/1.386, allocations: 4.3 MB / 0.8187 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.386, allocations: 0 / 0.8187 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.388, allocations: 1.023 MB / 0.8197 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.389, allocations: 267.6 kB / 0.82 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.409, allocations: 8.377 MB / 0.8281 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/1.412, allocations: 3.293 MB / 0.8314 GB, free: 89.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005218/1.417, allocations: 2.449 MB / 0.8338 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/1.419, allocations: 1.719 MB / 0.8354 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/1.419, allocations: 0 / 0.8354 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0987/1.518, allocations: 61.9 MB / 0.8959 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/1.518, allocations: 138.8 kB / 0.896 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.801/5.319, allocations: 7.938 kB / 0.896 GB, free: 33.82 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