Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 99.86 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 45.14 MB / 383.7 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.63e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5786, allocations: 107.5 MB / 0.6094 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5789, allocations: 78.45 kB / 0.6095 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7267/1.306, allocations: 178.6 MB / 0.7839 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/1.306, allocations: 0 / 0.7839 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004179/1.306, allocations: 172.9 kB / 0.7841 GB, free: 98.29 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.0285/1.335, allocations: 8.425 MB / 0.7923 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.117e-05/1.335, allocations: 9.75 kB / 0.7923 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/1.355, allocations: 3.779 MB / 0.796 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/1.376, allocations: 8.546 MB / 0.8043 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005822/1.377, allocations: 297.7 kB / 0.8046 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00387/1.381, allocations: 0.532 MB / 0.8051 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02317/1.404, allocations: 12.32 MB / 0.8172 GB, free: 93.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04378/1.448, allocations: 17.88 MB / 0.8346 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005915/1.448, allocations: 95.27 kB / 0.8347 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003977/1.452, allocations: 46.53 kB / 0.8348 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/1.455, allocations: 1.867 MB / 0.8366 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0913/1.547, allocations: 84.42 MB / 0.919 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/1.55, allocations: 2.706 MB / 0.9217 GB, free: 17.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/1.552, allocations: 1.309 MB / 0.923 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/1.552, allocations: 37.22 kB / 0.923 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.552, allocations: 63.56 kB / 0.9231 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 4.248e-06/1.552, allocations: 0 / 0.9231 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.02388/1.576, allocations: 12.07 MB / 0.9348 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/1.576, allocations: 149.8 kB / 0.935 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007628/1.584, allocations: 5.16 MB / 0.94 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004386/1.584, allocations: 25.7 kB / 0.94 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00471/1.589, allocations: 6.12 MB / 0.946 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.59, allocations: 0.8493 MB / 0.9469 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000536/1.59, allocations: 4 kB / 0.9469 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004868/1.591, allocations: 0.6833 MB / 0.9475 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/1.594, allocations: 2.166 MB / 0.9496 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3001/1.894, allocations: 7.985 MB / 0.9574 GB, free: 96.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006498/1.901, allocations: 4.099 MB / 0.9614 GB, free: 96.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001985/1.901, allocations: 60.53 kB / 0.9615 GB, free: 96.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.01819/1.919, allocations: 8.836 MB / 0.9701 GB, free: 96.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.919, allocations: 95.28 kB / 0.9702 GB, free: 96.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000321/1.92, allocations: 210.9 kB / 0.9704 GB, free: 96.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/1.92, allocations: 307.4 kB / 0.9707 GB, free: 96.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007728/1.928, allocations: 2.194 MB / 0.9729 GB, free: 96.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004217/1.928, allocations: 414.8 kB / 0.9732 GB, free: 96.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007294/1.936, allocations: 440.8 kB / 0.9737 GB, free: 96.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.937, allocations: 0.5629 MB / 0.9742 GB, free: 96.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 88 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1147): * Single equations (assignments): 1144 * Array equations: 3 * 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.001522/1.939, allocations: 0.6352 MB / 0.9748 GB, free: 95.74 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003551/1.942, allocations: 2.482 MB / 0.9773 GB, free: 95.67 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/1.943, allocations: 0.5339 MB / 0.9778 GB, free: 95.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/1.945, allocations: 0.6396 MB / 0.9784 GB, free: 95.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.945, allocations: 26.06 kB / 0.9784 GB, free: 95.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.945, allocations: 1.547 kB / 0.9784 GB, free: 95.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/1.945, allocations: 12.8 kB / 0.9784 GB, free: 95.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/1.968, allocations: 19.06 MB / 0.9971 GB, free: 93.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-05/1.968, allocations: 40.66 kB / 0.9971 GB, free: 93.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.969, allocations: 422 kB / 0.9975 GB, free: 93.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.949e-05/1.969, allocations: 59.88 kB / 0.9976 GB, free: 93.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/1.97, allocations: 58.23 kB / 0.9976 GB, free: 93.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.159e-05/1.97, allocations: 74.38 kB / 0.9977 GB, free: 93.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.679e-05/1.97, allocations: 62.53 kB / 0.9977 GB, free: 93.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00452/1.974, allocations: 10.9 MB / 1.008 GB, free: 83.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009495/1.975, allocations: 0.6068 MB / 1.009 GB, free: 82.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/1.976, allocations: 59.78 kB / 1.009 GB, free: 82.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.978, allocations: 161.4 kB / 1.009 GB, free: 82.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.978, allocations: 271.7 kB / 1.009 GB, free: 82.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.978, allocations: 117.3 kB / 1.01 GB, free: 82.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005249/1.983, allocations: 3.439 MB / 1.013 GB, free: 82.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.91e-07/1.983, allocations: 0 / 1.013 GB, free: 82.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009306/1.993, allocations: 1.341 MB / 1.014 GB, free: 82.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 211 * Array equations: 3 * 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.00744/2, allocations: 19.3 MB / 1.033 GB, free: 64.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007917/2.008, allocations: 5.105 MB / 1.038 GB, free: 64.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.603e-05/2.008, allocations: 6.125 kB / 1.038 GB, free: 64.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/2.01, allocations: 1.169 MB / 1.039 GB, free: 64.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/2.014, allocations: 0.8053 MB / 1.04 GB, free: 64.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/2.048, allocations: 16.67 MB / 1.056 GB, free: 59.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007661/2.055, allocations: 6.208 MB / 1.062 GB, free: 57.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00738/2.063, allocations: 2.796 MB / 1.065 GB, free: 57.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005411/2.068, allocations: 4.021 MB / 1.069 GB, free: 53.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/2.068, allocations: 0 / 1.069 GB, free: 53.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4576/2.526, allocations: 111.7 MB / 1.178 GB, free: 96.34 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/2.526, allocations: 142.1 kB / 1.178 GB, free: 96.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.651/8.177, allocations: 2 kB / 1.178 GB, free: 96.15 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat