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.001574/0.001574, allocations: 184.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009628/0.0009628, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2308/0.2308, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003282, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5859, allocations: 105.5 MB / 0.5819 GB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5863, allocations: 80.08 kB / 0.582 GB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2181/0.8044, allocations: 79.82 MB / 0.6599 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.8045, allocations: 0 / 0.6599 GB, free: 2.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002627/0.8048, allocations: 76 kB / 0.66 GB, free: 2.246 MB / 458.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.01433/0.8191, allocations: 3.687 MB / 0.6636 GB, free: 14.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.8192, allocations: 8.031 kB / 0.6636 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004704/0.8239, allocations: 0.808 MB / 0.6644 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.8392, allocations: 3.387 MB / 0.6677 GB, free: 10.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00861/0.8478, allocations: 2.348 MB / 0.67 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/0.8484, allocations: 312.1 kB / 0.6703 GB, free: 7.555 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/0.8511, allocations: 403.9 kB / 0.6707 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02829/0.8794, allocations: 10.74 MB / 0.6812 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/0.8798, allocations: 51.52 kB / 0.6812 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/0.8824, allocations: 207.9 kB / 0.6814 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/0.8845, allocations: 1.143 MB / 0.6825 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/0.9057, allocations: 9.422 MB / 0.6917 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4015/1.307, allocations: 46.98 MB / 0.7376 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007154/1.314, allocations: 3.49 MB / 0.741 GB, free: 94.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/1.326, allocations: 5.316 MB / 0.7462 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.326, allocations: 44.97 kB / 0.7462 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 4.859e-06/1.326, allocations: 1.312 kB / 0.7462 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=153): time 0.008966/1.335, allocations: 3.865 MB / 0.75 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.335, allocations: 171.6 kB / 0.7502 GB, free: 91.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006699/1.342, allocations: 3.52 MB / 0.7536 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.342, allocations: 40.89 kB / 0.7537 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002091/1.344, allocations: 3.327 MB / 0.7569 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005845/1.345, allocations: 0.6197 MB / 0.7575 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.345, allocations: 126.4 kB / 0.7576 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003211/1.345, allocations: 0.5975 MB / 0.7582 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/1.348, allocations: 1.943 MB / 0.7601 GB, free: 89.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/1.353, allocations: 6.21 MB / 0.7662 GB, free: 83.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/1.357, allocations: 3.495 MB / 0.7696 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-05/1.357, allocations: 41.47 kB / 0.7696 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.009808/1.367, allocations: 7.803 MB / 0.7773 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/1.367, allocations: 73.47 kB / 0.7773 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/1.367, allocations: 152.5 kB / 0.7775 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/1.367, allocations: 219.8 kB / 0.7777 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/1.371, allocations: 1.511 MB / 0.7792 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001826/1.371, allocations: 295.1 kB / 0.7794 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/1.375, allocations: 0.9358 MB / 0.7804 GB, free: 81.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/1.376, allocations: 414 kB / 0.7807 GB, free: 81.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * 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.003652/1.379, allocations: 2.279 MB / 0.783 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/1.38, allocations: 316.9 kB / 0.7833 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/1.381, allocations: 424 kB / 0.7837 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.582e-05/1.381, allocations: 40.31 kB / 0.7837 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/1.381, allocations: 3.781 kB / 0.7837 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.381, allocations: 7.234 kB / 0.7837 GB, free: 79.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/1.392, allocations: 5.759 MB / 0.7894 GB, free: 77.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.392, allocations: 11.19 kB / 0.7894 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/1.392, allocations: 204.9 kB / 0.7896 GB, free: 77.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/1.393, allocations: 14.88 kB / 0.7896 GB, free: 77.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/1.393, allocations: 31.47 kB / 0.7896 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/1.393, allocations: 11.78 kB / 0.7896 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.393, allocations: 11.66 kB / 0.7896 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/1.395, allocations: 3.239 MB / 0.7928 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/1.396, allocations: 398.6 kB / 0.7932 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/1.397, allocations: 36.02 kB / 0.7932 GB, free: 74.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/1.397, allocations: 70.84 kB / 0.7933 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.398, allocations: 89.28 kB / 0.7934 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.971e-05/1.398, allocations: 46.11 kB / 0.7934 GB, free: 74.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003047/1.401, allocations: 2.396 MB / 0.7957 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/1.401, allocations: 0 / 0.7957 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005103/1.406, allocations: 1.136 MB / 0.7968 GB, free: 73.78 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.003209/1.409, allocations: 5.383 MB / 0.8021 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005796/1.415, allocations: 4.45 MB / 0.8065 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.415, allocations: 3.562 kB / 0.8065 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.416, allocations: 0.9581 MB / 0.8074 GB, free: 67.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.417, allocations: 340.9 kB / 0.8077 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3661/1.784, allocations: 135.5 MB / 0.94 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005197/1.789, allocations: 3.362 MB / 0.9433 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005834/1.795, allocations: 2.286 MB / 0.9455 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/1.797, allocations: 1.75 MB / 0.9472 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/1.797, allocations: 0 / 0.9472 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/1.903, allocations: 65.49 MB / 1.011 GB, free: 93.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.903, allocations: 183.9 kB / 1.011 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.149/6.052, allocations: 0 / 1.011 GB, free: 93.24 MB / 0.5261 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