Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 175.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3669/0.3669, allocations: 43.55 MB / 314.5 MB, free: 9.066 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005379, allocations: 12 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.85 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.2893/0.4141, allocations: 55.81 MB / 498.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04169/0.4558, allocations: 14.81 MB / 0.5014 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01792/0.4738, allocations: 307.9 kB / 0.5017 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01324/0.4871, allocations: 3.002 MB / 0.5046 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03366/0.5208, allocations: 7.28 MB / 0.5118 GB, free: 468 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009932/0.5307, allocations: 1.641 MB / 0.5134 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03453/0.5653, allocations: 16.77 MB / 0.5297 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05916/0.6246, allocations: 36.39 MB / 0.5653 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006456/0.6311, allocations: 2.734 MB / 0.5679 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00745/0.6386, allocations: 3.644 MB / 0.5715 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002892/0.6415, allocations: 0.5234 MB / 0.572 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006109/0.6476, allocations: 1.592 MB / 0.5736 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009137/0.6568, allocations: 5.67 MB / 0.5791 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006181/0.663, allocations: 3.227 MB / 0.5823 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03341/0.6965, allocations: 27.61 MB / 0.6092 GB, free: 5.539 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6965, allocations: 0 / 0.6092 GB, free: 5.539 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6966, allocations: 0 / 0.6092 GB, free: 5.539 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001235/0.6978, allocations: 0 / 0.6092 GB, free: 5.539 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.03538/0.7332, allocations: 13.42 MB / 0.6223 GB, free: 8.008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.7333, allocations: 12.02 kB / 0.6223 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01214/0.7454, allocations: 2.841 MB / 0.6251 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5904/1.336, allocations: 9.714 MB / 0.6346 GB, free: 118.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02178/1.358, allocations: 8.048 MB / 0.6425 GB, free: 116.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009854/1.359, allocations: 1.258 MB / 0.6437 GB, free: 116.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006856/1.366, allocations: 1.652 MB / 0.6453 GB, free: 115.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1041/1.47, allocations: 38.99 MB / 0.6834 GB, free: 99.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001338/1.471, allocations: 118.8 kB / 0.6835 GB, free: 99.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007414/1.479, allocations: 0.741 MB / 0.6842 GB, free: 98.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00623/1.485, allocations: 3.959 MB / 0.6881 GB, free: 96.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06562/1.551, allocations: 29.72 MB / 0.7171 GB, free: 66.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/1.729, allocations: 123.4 MB / 0.8376 GB, free: 5.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5399/2.268, allocations: 12.98 MB / 0.8503 GB, free: 162.9 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/2.279, allocations: 15.25 MB / 0.8652 GB, free: 150.3 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/2.279, allocations: 67.88 kB / 0.8653 GB, free: 150.3 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=274): time 7.134e-06/2.279, allocations: 3.188 kB / 0.8653 GB, free: 150.3 MB / 0.5452 GB Notification: Performance of matching and sorting (n=309): time 0.2135/2.493, allocations: 78.42 MB / 0.9418 GB, free: 115.4 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/2.493, allocations: 208.8 kB / 0.942 GB, free: 115.2 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/2.506, allocations: 10.8 MB / 0.9526 GB, free: 104.4 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0006354/2.507, allocations: 69.7 kB / 0.9526 GB, free: 104.3 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.005671/2.512, allocations: 11.07 MB / 0.9635 GB, free: 93.27 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.001554/2.514, allocations: 1.356 MB / 0.9648 GB, free: 91.92 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006857/2.515, allocations: 363.8 kB / 0.9651 GB, free: 91.57 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0006662/2.515, allocations: 1.09 MB / 0.9662 GB, free: 90.47 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007601/2.523, allocations: 6.095 MB / 0.9721 GB, free: 84.37 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/2.536, allocations: 18.52 MB / 0.9902 GB, free: 59.61 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/2.551, allocations: 10.64 MB / 1.001 GB, free: 48.97 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003291/2.551, allocations: 128 kB / 1.001 GB, free: 48.85 MB / 0.5452 GB Notification: Performance of matching and sorting (n=2352) (initialization): time 0.04023/2.592, allocations: 23.51 MB / 1.024 GB, free: 25.34 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 0.000801/2.592, allocations: 200 kB / 1.024 GB, free: 25.15 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001015/2.594, allocations: 448 kB / 1.024 GB, free: 24.71 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/2.596, allocations: 0.8998 MB / 1.025 GB, free: 23.81 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01584/2.611, allocations: 4.399 MB / 1.029 GB, free: 19.4 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/2.616, allocations: 3.992 MB / 1.033 GB, free: 15.28 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/2.631, allocations: 1.072 MB / 1.034 GB, free: 14.21 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003909/2.635, allocations: 1.148 MB / 1.036 GB, free: 13.06 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2039 * Number of states: 0 () * Number of discrete variables: 33 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],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 (2306): * Single equations (assignments): 2298 * 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.01746/2.652, allocations: 7.862 MB / 1.043 GB, free: 5.18 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3169/2.969, allocations: 0.8243 MB / 1.044 GB, free: 135 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/2.979, allocations: 6.218 MB / 1.05 GB, free: 134.8 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-05/2.979, allocations: 32.59 kB / 1.05 GB, free: 134.8 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/2.979, allocations: 8.094 kB / 1.05 GB, free: 134.8 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/2.979, allocations: 18.47 kB / 1.05 GB, free: 134.8 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05391/3.033, allocations: 21.36 MB / 1.071 GB, free: 128.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/3.033, allocations: 4.156 kB / 1.071 GB, free: 128.2 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/3.036, allocations: 0.6105 MB / 1.072 GB, free: 128.2 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007173/3.037, allocations: 241.8 kB / 1.072 GB, free: 128.1 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/3.037, allocations: 59.94 kB / 1.072 GB, free: 128.1 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/3.04, allocations: 2.578 MB / 1.074 GB, free: 126.3 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/3.04, allocations: 5.906 kB / 1.074 GB, free: 126.3 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/3.056, allocations: 11.21 MB / 1.085 GB, free: 121.2 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004889/3.061, allocations: 1.293 MB / 1.087 GB, free: 120.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002257/3.064, allocations: 53.48 kB / 1.087 GB, free: 120.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004953/3.069, allocations: 374.2 kB / 1.087 GB, free: 120.8 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006428/3.069, allocations: 181.1 kB / 1.087 GB, free: 120.8 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/3.07, allocations: 99.89 kB / 1.087 GB, free: 120.8 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01681/3.086, allocations: 6.641 MB / 1.094 GB, free: 118.4 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.282e-06/3.086, allocations: 0 / 1.094 GB, free: 118.4 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01753/3.104, allocations: 2.923 MB / 1.097 GB, free: 118.1 MB / 0.5452 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 (279): * Single equations (assignments): 271 * 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.0148/3.119, allocations: 12.46 MB / 1.109 GB, free: 112 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.02135/3.14, allocations: 13.57 MB / 1.122 GB, free: 107.1 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/3.14, allocations: 2.297 kB / 1.122 GB, free: 107.1 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.004103/3.144, allocations: 2.969 MB / 1.125 GB, free: 106 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006381/3.151, allocations: 1.381 MB / 1.126 GB, free: 105.4 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8065/3.957, allocations: 423 MB / 1.539 GB, free: 253.6 MB / 0.6702 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0256/3.983, allocations: 10.75 MB / 1.55 GB, free: 249.9 MB / 0.6702 GB Notification: Performance of simCode: alias equations: time 0.01652/4, allocations: 5.364 MB / 1.555 GB, free: 249.7 MB / 0.6702 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01159/4.011, allocations: 6.842 MB / 1.562 GB, free: 243.9 MB / 0.6702 GB Notification: Performance of SimCode: time 1.072e-06/4.011, allocations: 0 / 1.562 GB, free: 243.9 MB / 0.6702 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6422/4.653, allocations: 204.2 MB / 1.761 GB, free: 227.1 MB / 0.6702 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/4.654, allocations: 204.4 kB / 1.761 GB, free: 226.8 MB / 0.6702 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/13.13, allocations: 0 / 1.761 GB, free: 226.8 MB / 0.6702 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat