Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008583/0.0008582, allocations: 82.3 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.985e-05, allocations: 4 kB / 418.4 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.566, allocations: 104.7 MB / 0.5683 GB, free: 6.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5663, allocations: 79.09 kB / 0.5684 GB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1969/0.7632, allocations: 78.23 MB / 0.6448 GB, free: 480 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7632, allocations: 0 / 0.6448 GB, free: 480 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.7634, allocations: 72 kB / 0.6449 GB, free: 408 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01245/0.7759, allocations: 3.567 MB / 0.6483 GB, free: 12.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.7759, allocations: 12.03 kB / 0.6484 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.792, allocations: 3.375 MB / 0.6517 GB, free: 9.367 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008887/0.801, allocations: 2.352 MB / 0.6539 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.8013, allocations: 136 kB / 0.6541 GB, free: 6.832 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003018/0.8043, allocations: 228 kB / 0.6543 GB, free: 6.609 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0146/0.8189, allocations: 6.69 MB / 0.6608 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.8422, allocations: 10.01 MB / 0.6706 GB, free: 4.938 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.8424, allocations: 43.56 kB / 0.6706 GB, free: 4.895 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007265/0.8431, allocations: 32 kB / 0.6707 GB, free: 4.863 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001586/0.8447, allocations: 1.14 MB / 0.6718 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4166/1.261, allocations: 45.96 MB / 0.7167 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/1.265, allocations: 2.778 MB / 0.7194 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/1.267, allocations: 1.029 MB / 0.7204 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.267, allocations: 19.19 kB / 0.7204 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/1.267, allocations: 55.14 kB / 0.7205 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=179): time 5.36e-06/1.267, allocations: 3.391 kB / 0.7205 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=179): time 0.005512/1.273, allocations: 2.39 MB / 0.7228 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/1.273, allocations: 171.7 kB / 0.723 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0059/1.279, allocations: 3.12 MB / 0.726 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/1.279, allocations: 26.89 kB / 0.726 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00272/1.282, allocations: 3.374 MB / 0.7293 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.283, allocations: 0.6953 MB / 0.73 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/1.283, allocations: 0 / 0.73 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006322/1.284, allocations: 0.6636 MB / 0.7307 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/1.287, allocations: 1.909 MB / 0.7325 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.292, allocations: 6.457 MB / 0.7388 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005223/1.297, allocations: 3.572 MB / 0.7423 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/1.297, allocations: 52.31 kB / 0.7424 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=928) (initialization): time 0.01275/1.31, allocations: 7.249 MB / 0.7494 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.981e-05/1.31, allocations: 74.44 kB / 0.7495 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/1.31, allocations: 165 kB / 0.7497 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/1.31, allocations: 239.8 kB / 0.7499 GB, free: 95.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004207/1.315, allocations: 1.616 MB / 0.7515 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/1.315, allocations: 323.1 kB / 0.7518 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/1.319, allocations: 0.8154 MB / 0.7526 GB, free: 94.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007441/1.32, allocations: 447.1 kB / 0.753 GB, free: 94.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 21 (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 (880): * Single equations (assignments): 874 * 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.00077/1.321, allocations: 493.7 kB / 0.7535 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002716/1.324, allocations: 2.14 MB / 0.7556 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/1.324, allocations: 307.5 kB / 0.7559 GB, free: 94.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/1.327, allocations: 1.898 MB / 0.7577 GB, free: 94.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/1.327, allocations: 40.8 kB / 0.7578 GB, free: 94.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.327, allocations: 6.094 kB / 0.7578 GB, free: 94.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.327, allocations: 6.5 kB / 0.7578 GB, free: 94.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.337, allocations: 5.751 MB / 0.7634 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.337, allocations: 7.688 kB / 0.7634 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.338, allocations: 245.4 kB / 0.7636 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.074e-05/1.338, allocations: 15.34 kB / 0.7636 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/1.338, allocations: 23.22 kB / 0.7637 GB, free: 92.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-05/1.338, allocations: 15.03 kB / 0.7637 GB, free: 92.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-05/1.338, allocations: 15.19 kB / 0.7637 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/1.343, allocations: 3.608 MB / 0.7672 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.344, allocations: 381.9 kB / 0.7676 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/1.344, allocations: 10.91 kB / 0.7676 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.345, allocations: 49.58 kB / 0.7676 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.346, allocations: 112.2 kB / 0.7677 GB, free: 89.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.346, allocations: 51.92 kB / 0.7678 GB, free: 89.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003252/1.349, allocations: 2.037 MB / 0.7698 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.349, allocations: 3.281 kB / 0.7698 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005981/1.355, allocations: 1.02 MB / 0.7708 GB, free: 88.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.003929/1.359, allocations: 6.219 MB / 0.7769 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006953/1.366, allocations: 4.395 MB / 0.7811 GB, free: 82.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.366, allocations: 0 / 0.7811 GB, free: 82.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/1.367, allocations: 1.052 MB / 0.7822 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.369, allocations: 264.2 kB / 0.7824 GB, free: 81.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/1.389, allocations: 8.625 MB / 0.7908 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/1.393, allocations: 3.363 MB / 0.7941 GB, free: 73.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006072/1.399, allocations: 2.485 MB / 0.7966 GB, free: 71.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002622/1.402, allocations: 1.761 MB / 0.7983 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/1.402, allocations: 0 / 0.7983 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.513, allocations: 63.31 MB / 0.8601 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.513, allocations: 141.3 kB / 0.8602 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.832/5.345, allocations: 3.938 kB / 0.8602 GB, free: 15.25 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat