Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 94.39 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 45.92 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004428, allocations: 11.98 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1793, allocations: 63.46 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.3696/0.5489, allocations: 61.86 MB / 0.5308 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04059/0.5895, allocations: 14.71 MB / 0.5451 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01891/0.6085, allocations: 334.2 kB / 0.5454 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01318/0.6217, allocations: 3.468 MB / 0.5488 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02879/0.6506, allocations: 9.616 MB / 0.5582 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0078/0.6584, allocations: 1.68 MB / 0.5599 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05482/0.7132, allocations: 40.92 MB / 0.5998 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05877/0.7721, allocations: 36.82 MB / 0.6358 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008714/0.7809, allocations: 3.562 MB / 0.6393 GB, free: 6.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.7919, allocations: 5.756 MB / 0.6449 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002992/0.7949, allocations: 0.5117 MB / 0.6454 GB, free: 368 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.8007, allocations: 1.615 MB / 0.6469 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00912/0.8099, allocations: 6.059 MB / 0.6529 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005588/0.8155, allocations: 3.204 MB / 0.656 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03485/0.8504, allocations: 27.33 MB / 0.6827 GB, free: 10.05 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.8505, allocations: 0 / 0.6827 GB, free: 10.05 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8505, allocations: 0 / 0.6827 GB, free: 10.05 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.001249/0.8517, allocations: 0 / 0.6827 GB, free: 10.05 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5665 * Number of variables: 5665 Notification: Performance of Generate backend data structure: time 0.0377/0.8894, allocations: 13.41 MB / 0.6958 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.8895, allocations: 8.031 kB / 0.6958 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01159/0.9011, allocations: 2.828 MB / 0.6985 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07598/0.9771, allocations: 8.57 MB / 0.7069 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5105/1.488, allocations: 8.065 MB / 0.7148 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001653/1.489, allocations: 1.246 MB / 0.716 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00766/1.497, allocations: 1.655 MB / 0.7176 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08447/1.582, allocations: 36.58 MB / 0.7533 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008181/1.582, allocations: 132.8 kB / 0.7535 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005672/1.588, allocations: 0.7374 MB / 0.7542 GB, free: 135 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004651/1.593, allocations: 3.929 MB / 0.758 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05158/1.644, allocations: 27.25 MB / 0.7846 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1405/1.785, allocations: 123.6 MB / 0.9054 GB, free: 10.23 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02346/1.808, allocations: 8.31 MB / 0.9135 GB, free: 1.77 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005554/1.814, allocations: 4.065 MB / 0.9174 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.483/2.297, allocations: 14.68 MB / 0.9318 GB, free: 190.6 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/2.297, allocations: 64.92 kB / 0.9318 GB, free: 190.6 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=277): time 6.452e-06/2.297, allocations: 0 / 0.9318 GB, free: 190.6 MB / 0.5764 GB Notification: Performance of matching and sorting (n=338): time 0.1379/2.435, allocations: 56.1 MB / 0.9866 GB, free: 169.6 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/2.435, allocations: 214 kB / 0.9868 GB, free: 169.4 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02006/2.455, allocations: 10.64 MB / 0.9972 GB, free: 159.4 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0008761/2.456, allocations: 78.72 kB / 0.9973 GB, free: 159.3 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.006303/2.463, allocations: 10.96 MB / 1.008 GB, free: 148.4 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/2.464, allocations: 1.456 MB / 1.009 GB, free: 146.9 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/2.466, allocations: 361.2 kB / 1.01 GB, free: 146.6 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.00168/2.468, allocations: 1.079 MB / 1.011 GB, free: 145.5 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009954/2.478, allocations: 6.446 MB / 1.017 GB, free: 139.1 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01702/2.495, allocations: 18.78 MB / 1.035 GB, free: 114.1 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/2.511, allocations: 10.98 MB / 1.046 GB, free: 103.1 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003866/2.511, allocations: 124 kB / 1.046 GB, free: 103 MB / 0.5764 GB Notification: Performance of matching and sorting (n=2356) (initialization): time 0.04238/2.553, allocations: 24.8 MB / 1.071 GB, free: 78.17 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002739/2.554, allocations: 192 kB / 1.071 GB, free: 77.98 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005623/2.554, allocations: 443.9 kB / 1.071 GB, free: 77.55 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00315/2.557, allocations: 1.606 MB / 1.073 GB, free: 75.94 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01306/2.571, allocations: 4.343 MB / 1.077 GB, free: 71.59 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/2.578, allocations: 7.471 MB / 1.084 GB, free: 63.98 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01391/2.592, allocations: 1.053 MB / 1.085 GB, free: 62.93 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003885/2.596, allocations: 1.152 MB / 1.086 GB, free: 61.78 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2012 * Number of states: 0 () * Number of discrete variables: 44 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.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],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[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 (2299): * Single equations (assignments): 2291 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01454/2.611, allocations: 7.847 MB / 1.094 GB, free: 53.91 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/2.612, allocations: 0.8329 MB / 1.095 GB, free: 53.06 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/2.624, allocations: 7.757 MB / 1.102 GB, free: 45.25 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/2.624, allocations: 36 kB / 1.102 GB, free: 45.22 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/2.624, allocations: 7.953 kB / 1.102 GB, free: 45.21 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.211e-05/2.624, allocations: 19.94 kB / 1.103 GB, free: 45.19 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04323/2.667, allocations: 23.44 MB / 1.125 GB, free: 21.59 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/2.667, allocations: 4 kB / 1.125 GB, free: 21.59 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002618/2.67, allocations: 0.6206 MB / 1.126 GB, free: 20.96 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/2.672, allocations: 0.9509 MB / 1.127 GB, free: 20.01 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004008/2.673, allocations: 56 kB / 1.127 GB, free: 19.96 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006065/2.679, allocations: 5.788 MB / 1.133 GB, free: 14.04 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/2.679, allocations: 11.95 kB / 1.133 GB, free: 14.02 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3115/2.99, allocations: 12.85 MB / 1.145 GB, free: 161.1 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/2.993, allocations: 0.7779 MB / 1.146 GB, free: 161 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/2.994, allocations: 58.08 kB / 1.146 GB, free: 161 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003411/2.998, allocations: 398.3 kB / 1.146 GB, free: 161 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005509/2.998, allocations: 191 kB / 1.147 GB, free: 161 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/2.999, allocations: 106.2 kB / 1.147 GB, free: 161 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01303/3.012, allocations: 6.529 MB / 1.153 GB, free: 158.6 MB / 0.5764 GB Notification: Performance of sort global known variables: time 2.71e-07/3.012, allocations: 0 / 1.153 GB, free: 158.6 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01841/3.03, allocations: 2.99 MB / 1.156 GB, free: 158.3 MB / 0.5764 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (rev.phi,rev.w,rev1.phi,rev1.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 (294): * Single equations (assignments): 286 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01919/3.049, allocations: 13.7 MB / 1.169 GB, free: 152.9 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02336/3.073, allocations: 14.6 MB / 1.184 GB, free: 147.6 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/3.073, allocations: 2.062 kB / 1.184 GB, free: 147.6 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.005315/3.078, allocations: 3.626 MB / 1.187 GB, free: 146.2 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009583/3.088, allocations: 1.472 MB / 1.189 GB, free: 145.6 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.174/3.262, allocations: 118.5 MB / 1.304 GB, free: 28.6 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02056/3.282, allocations: 10.46 MB / 1.315 GB, free: 18.09 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.01446/3.297, allocations: 5.498 MB / 1.32 GB, free: 12.58 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00981/3.307, allocations: 6.814 MB / 1.327 GB, free: 5.766 MB / 0.5764 GB Notification: Performance of SimCode: time 1.352e-06/3.307, allocations: 0 / 1.327 GB, free: 5.766 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5846/3.891, allocations: 204.8 MB / 1.527 GB, free: 58.04 MB / 0.6077 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/3.892, allocations: 209.7 kB / 1.527 GB, free: 57.8 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/11.86, allocations: 0 / 1.527 GB, free: 57.8 MB / 0.6077 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat