Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 98.78 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3423/0.3423, allocations: 44.21 MB / 387.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003309, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4176, allocations: 61.9 MB / 0.5096 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.5765, allocations: 112.7 MB / 0.6197 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.5769, allocations: 83.94 kB / 0.6197 GB, free: 14.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7999/1.377, allocations: 228.9 MB / 0.8432 GB, free: 1.613 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.377, allocations: 0 / 0.8432 GB, free: 1.613 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005781/1.377, allocations: 363.9 kB / 0.8436 GB, free: 1.258 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: 5519 * Number of variables: 5519 Notification: Performance of Generate backend data structure: time 0.04718/1.425, allocations: 13.16 MB / 0.8564 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.732e-05/1.425, allocations: 11.97 kB / 0.8564 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01617/1.441, allocations: 2.875 MB / 0.8593 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02456/1.466, allocations: 5.718 MB / 0.8648 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03143/1.497, allocations: 10.19 MB / 0.8748 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.7122/2.209, allocations: 1.44 MB / 0.8762 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009753/2.219, allocations: 1.896 MB / 0.878 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.11/2.329, allocations: 40.47 MB / 0.9176 GB, free: 40.47 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00164/2.331, allocations: 201.1 kB / 0.9178 GB, free: 40.47 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00884/2.34, allocations: 0.8865 MB / 0.9186 GB, free: 40.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00376/2.344, allocations: 1.9 MB / 0.9205 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08046/2.424, allocations: 29.2 MB / 0.949 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6699/3.094, allocations: 162.1 MB / 1.107 GB, free: 27.67 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03392/3.128, allocations: 12.86 MB / 1.12 GB, free: 26.98 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0127/3.141, allocations: 15.26 MB / 1.135 GB, free: 14.43 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/3.141, allocations: 67.22 kB / 1.135 GB, free: 14.39 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=238): time 9.578e-06/3.141, allocations: 0 / 1.135 GB, free: 14.39 MB / 0.5887 GB Notification: Performance of matching and sorting (n=273): time 0.2027/3.344, allocations: 78.2 MB / 1.211 GB, free: 0.9922 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/3.344, allocations: 208.5 kB / 1.211 GB, free: 0.7461 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02421/3.368, allocations: 9.305 MB / 1.22 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0007066/3.369, allocations: 67.14 kB / 1.221 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.01152/3.38, allocations: 10.76 MB / 1.231 GB, free: 3.293 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/3.383, allocations: 1.241 MB / 1.232 GB, free: 2.469 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/3.385, allocations: 346.6 kB / 1.233 GB, free: 2.402 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.002907/3.388, allocations: 1.05 MB / 1.234 GB, free: 1.828 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01862/3.407, allocations: 6.397 MB / 1.24 GB, free: 0 / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02327/3.43, allocations: 17.95 MB / 1.257 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01988/3.45, allocations: 10.29 MB / 1.267 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009702/3.451, allocations: 124 kB / 1.268 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2265) (initialization): time 0.04542/3.497, allocations: 22.67 MB / 1.29 GB, free: 9.449 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000873/3.498, allocations: 192 kB / 1.29 GB, free: 9.262 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009679/3.499, allocations: 439.6 kB / 1.29 GB, free: 8.836 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/3.5, allocations: 0.8142 MB / 1.291 GB, free: 8.113 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01423/3.514, allocations: 4.292 MB / 1.295 GB, free: 4.129 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/3.52, allocations: 3.624 MB / 1.299 GB, free: 384 kB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01372/3.534, allocations: 1.084 MB / 1.3 GB, free: 15.29 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003799/3.538, allocations: 1.112 MB / 1.301 GB, free: 14.18 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1988 * Number of states: 0 () * Number of discrete variables: 41 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2219): * Single equations (assignments): 2211 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01741/3.555, allocations: 7.676 MB / 1.308 GB, free: 6.488 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/3.557, allocations: 0.7943 MB / 1.309 GB, free: 5.684 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/3.568, allocations: 5.669 MB / 1.315 GB, free: 4 kB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.569e-05/3.568, allocations: 36.05 kB / 1.315 GB, free: 15.96 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/3.568, allocations: 0 / 1.315 GB, free: 15.96 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/3.568, allocations: 22.42 kB / 1.315 GB, free: 15.95 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04574/3.614, allocations: 20.16 MB / 1.335 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/3.614, allocations: 4 kB / 1.335 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/3.616, allocations: 0.6088 MB / 1.335 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/3.617, allocations: 160.7 kB / 1.335 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/3.617, allocations: 55.98 kB / 1.335 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/3.62, allocations: 2.208 MB / 1.337 GB, free: 8.527 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/3.62, allocations: 8 kB / 1.337 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/3.633, allocations: 10.48 MB / 1.348 GB, free: 13.75 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002629/3.636, allocations: 0.7405 MB / 1.348 GB, free: 12.98 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001642/3.638, allocations: 44 kB / 1.348 GB, free: 12.94 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/3.641, allocations: 423.4 kB / 1.349 GB, free: 12.52 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/3.642, allocations: 152.9 kB / 1.349 GB, free: 12.38 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/3.642, allocations: 85.97 kB / 1.349 GB, free: 12.29 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.01616/3.658, allocations: 6.359 MB / 1.355 GB, free: 5.953 MB / 0.7137 GB Notification: Performance of sort global known variables: time 3.4e-07/3.658, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.01811/3.676, allocations: 2.785 MB / 1.358 GB, free: 3.18 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * 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 (239): * Single equations (assignments): 231 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01554/3.692, allocations: 11.71 MB / 1.37 GB, free: 7.301 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.3483/4.04, allocations: 13 MB / 1.382 GB, free: 249.6 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/4.04, allocations: 448 / 1.382 GB, free: 249.6 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/4.043, allocations: 2.727 MB / 1.385 GB, free: 249.4 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00575/4.049, allocations: 1.371 MB / 1.386 GB, free: 249.4 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5447/4.594, allocations: 409.4 MB / 1.786 GB, free: 119.1 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02879/4.623, allocations: 10.47 MB / 1.796 GB, free: 118.1 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.01637/4.639, allocations: 5.227 MB / 1.801 GB, free: 118 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01372/4.653, allocations: 6.663 MB / 1.808 GB, free: 118 MB / 0.7293 GB Notification: Performance of SimCode: time 6.91e-07/4.653, allocations: 0 / 1.808 GB, free: 118 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6889/5.342, allocations: 197.4 MB / 2.001 GB, free: 220.2 MB / 0.7293 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/5.342, allocations: 206.3 kB / 2.001 GB, free: 220 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/15.89, allocations: 4 kB / 2.001 GB, free: 220 MB / 0.7293 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat