Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor.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.RelativeSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_RelativeSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.RelativeSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_RelativeSensor",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.001694/0.001694, allocations: 182.9 kB / 13.19 MB, free: 2.121 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.597/1.597, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008607/0.000861, allocations: 92.47 kB / 267 MB, free: 9.277 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.4623/0.4623, allocations: 43.48 MB / 358.6 MB, free: 52.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/3.995e-05, allocations: 0 / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 58.84 MB / 484.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.6068, allocations: 111.9 MB / 0.5822 GB, free: 8.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.6071, allocations: 72.81 kB / 0.5823 GB, free: 8.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8659/1.473, allocations: 249.8 MB / 0.8262 GB, free: 18.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.473, allocations: 0 / 0.8262 GB, free: 18.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000636/1.474, allocations: 371.9 kB / 0.8266 GB, free: 18.38 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: 5965 * Number of variables: 5965 Notification: Performance of Generate backend data structure: time 0.04922/1.523, allocations: 15.63 MB / 0.8418 GB, free: 2.633 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.523, allocations: 12.03 kB / 0.8419 GB, free: 2.621 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0159/1.539, allocations: 3.066 MB / 0.8449 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03701/1.576, allocations: 8.29 MB / 0.8529 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4358/2.012, allocations: 12.43 MB / 0.8651 GB, free: 46.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002133/2.014, allocations: 1.497 MB / 0.8665 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01008/2.024, allocations: 1.967 MB / 0.8685 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1317/2.156, allocations: 42.31 MB / 0.9098 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002389/2.158, allocations: 146.3 kB / 0.9099 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01229/2.171, allocations: 0.88 MB / 0.9108 GB, free: 39.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005415/2.176, allocations: 2.394 MB / 0.9131 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08509/2.261, allocations: 33.57 MB / 0.9459 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.694/2.955, allocations: 146.9 MB / 1.089 GB, free: 31.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05758/3.013, allocations: 22.42 MB / 1.111 GB, free: 29.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00902/3.022, allocations: 6.741 MB / 1.118 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04384/3.066, allocations: 27.34 MB / 1.145 GB, free: 25.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/3.066, allocations: 77 kB / 1.145 GB, free: 25.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=372): time 6.692e-06/3.066, allocations: 0 / 1.145 GB, free: 25.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=486): time 1.212/4.278, allocations: 280.7 MB / 1.419 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/4.278, allocations: 283.6 kB / 1.419 GB, free: 164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0225/4.3, allocations: 8.974 MB / 1.428 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002197/4.303, allocations: 101.4 kB / 1.428 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.008046/4.311, allocations: 10.83 MB / 1.438 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.004506/4.315, allocations: 1.897 MB / 1.44 GB, free: 151 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003155/4.318, allocations: 346.1 kB / 1.441 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.001521/4.32, allocations: 1.024 MB / 1.442 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02136/4.341, allocations: 15.7 MB / 1.457 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02805/4.369, allocations: 26.29 MB / 1.483 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02772/4.397, allocations: 19.83 MB / 1.502 GB, free: 96.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004021/4.398, allocations: 108 kB / 1.502 GB, free: 96.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2209) (initialization): time 0.4985/4.896, allocations: 41.68 MB / 1.543 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003941/4.897, allocations: 167.1 kB / 1.543 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009414/4.898, allocations: 375.3 kB / 1.543 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/4.9, allocations: 0.8695 MB / 1.544 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02377/4.924, allocations: 5.289 MB / 1.549 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006068/4.93, allocations: 5.665 MB / 1.555 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02198/4.952, allocations: 2.153 MB / 1.557 GB, free: 146.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005555/4.958, allocations: 1.022 MB / 1.558 GB, free: 146.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1717 * Number of states: 0 () * Number of discrete variables: 48 (relativeSensor.arrowColor[3],relativeSensor.arrowColor[2],relativeSensor.arrowColor[1],relative_b1.arrowColor[3],relative_b1.arrowColor[2],relative_b1.arrowColor[1],relative_b2.arrowColor[3],relative_b2.arrowColor[2],relative_b2.arrowColor[1],relative_a2.arrowColor[3],relative_a2.arrowColor[2],relative_a2.arrowColor[1],relative_a1.arrowColor[3],relative_a1.arrowColor[2],relative_a1.arrowColor[1],BodyBox2.color[3],BodyBox2.color[2],BodyBox2.color[1],BodyBox2.body.sphereColor[3],BodyBox2.body.sphereColor[2],BodyBox2.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (2153): * Single equations (assignments): 2143 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007469/4.965, allocations: 1.404 MB / 1.559 GB, free: 146.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002662/4.968, allocations: 0.8688 MB / 1.56 GB, free: 146.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05567/5.024, allocations: 29.98 MB / 1.589 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002014/5.024, allocations: 91.53 kB / 1.59 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/5.024, allocations: 4.312 kB / 1.59 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001285/5.024, allocations: 23.53 kB / 1.59 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1223/5.146, allocations: 72.14 MB / 1.66 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/5.146, allocations: 0 / 1.66 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01346/5.16, allocations: 2.116 MB / 1.662 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/5.161, allocations: 316.7 kB / 1.662 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002598/5.164, allocations: 77.86 kB / 1.662 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/5.168, allocations: 4.307 MB / 1.667 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/5.168, allocations: 0 / 1.667 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06748/5.235, allocations: 50.36 MB / 1.716 GB, free: 83.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01223/5.247, allocations: 3.953 MB / 1.72 GB, free: 79.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004593/5.252, allocations: 77.22 kB / 1.72 GB, free: 79.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01279/5.265, allocations: 1.634 MB / 1.721 GB, free: 79.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002785/5.268, allocations: 255 kB / 1.722 GB, free: 78.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002019/5.27, allocations: 127.3 kB / 1.722 GB, free: 78.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01589/5.286, allocations: 6.18 MB / 1.728 GB, free: 73.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.31e-07/5.286, allocations: 0 / 1.728 GB, free: 73.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02496/5.311, allocations: 4.281 MB / 1.732 GB, free: 69.05 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 434 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5528/5.864, allocations: 51.88 MB / 1.783 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.05708/5.921, allocations: 34.78 MB / 1.817 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/5.921, allocations: 0.625 kB / 1.817 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02048/5.941, allocations: 14.83 MB / 1.831 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009376/5.951, allocations: 1.337 MB / 1.832 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1287/6.079, allocations: 47.7 MB / 1.879 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03194/6.111, allocations: 11.37 MB / 1.89 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02543/6.137, allocations: 7.399 MB / 1.897 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02466/6.162, allocations: 7.685 MB / 1.905 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.124e-06/6.162, allocations: 0 / 1.905 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8409/7.002, allocations: 275.9 MB / 2.174 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/7.003, allocations: 178.7 kB / 2.174 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/18.76, allocations: 2.344 kB / 2.174 GB, free: 56.29 MB / 0.6355 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_RelativeSensor_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_RelativeSensor.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.RelativeSensor_res.mat does not exist to compare? outputFormat=mat