Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 196.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009475/0.0009475, allocations: 98.55 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.322e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5394, allocations: 105.5 MB / 0.6075 GB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.5397, allocations: 75.41 kB / 0.6076 GB, free: 12.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1473/0.6869, allocations: 60.82 MB / 0.667 GB, free: 8.602 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.687, allocations: 0 / 0.667 GB, free: 8.602 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001358/0.6872, allocations: 64 kB / 0.667 GB, free: 8.539 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.008041/0.6952, allocations: 2.89 MB / 0.6699 GB, free: 5.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.6953, allocations: 12.03 kB / 0.6699 GB, free: 5.578 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008227/0.7035, allocations: 1.871 MB / 0.6717 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/0.7082, allocations: 1.899 MB / 0.6735 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.7084, allocations: 108 kB / 0.6736 GB, free: 1.648 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.7099, allocations: 188 kB / 0.6738 GB, free: 1.465 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009739/0.7197, allocations: 4.799 MB / 0.6785 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.7369, allocations: 6.641 MB / 0.685 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.579e-05/0.737, allocations: 19.81 kB / 0.685 GB, free: 5.629 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.7374, allocations: 19.94 kB / 0.685 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009344/0.7384, allocations: 0.7051 MB / 0.6857 GB, free: 4.902 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/0.7704, allocations: 24.32 MB / 0.7095 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.7725, allocations: 1.481 MB / 0.7109 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/0.7732, allocations: 0.5352 MB / 0.7114 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.795e-05/0.7733, allocations: 12.77 kB / 0.7115 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.7734, allocations: 43.33 kB / 0.7115 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=99): time 5.02e-06/0.7734, allocations: 96 / 0.7115 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.003721/0.7771, allocations: 1.553 MB / 0.713 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.7772, allocations: 60.19 kB / 0.7131 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.7796, allocations: 1.646 MB / 0.7147 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.7798, allocations: 25.7 kB / 0.7147 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.7812, allocations: 2.15 MB / 0.7168 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/0.7816, allocations: 371.2 kB / 0.7172 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.7817, allocations: 7.938 kB / 0.7172 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002998/0.782, allocations: 0.4941 MB / 0.7177 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.7833, allocations: 0.8811 MB / 0.7185 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.7857, allocations: 2.944 MB / 0.7214 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.7879, allocations: 1.652 MB / 0.723 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/0.7879, allocations: 20 kB / 0.723 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.005642/0.7936, allocations: 3.379 MB / 0.7263 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.7937, allocations: 36 kB / 0.7264 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.61e-05/0.7937, allocations: 76 kB / 0.7264 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.7939, allocations: 108 kB / 0.7265 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.7961, allocations: 0.7486 MB / 0.7273 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001066/0.7962, allocations: 147.9 kB / 0.7274 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.7981, allocations: 375.4 kB / 0.7278 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.7984, allocations: 204 kB / 0.728 GB, free: 7.684 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 34 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 410 * 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.0003861/0.7988, allocations: 300.4 kB / 0.7282 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001583/0.8004, allocations: 1.116 MB / 0.7293 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.8006, allocations: 169.8 kB / 0.7295 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.8026, allocations: 1.243 MB / 0.7307 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.8026, allocations: 15.98 kB / 0.7307 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8026, allocations: 0 / 0.7307 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.8026, allocations: 3.984 kB / 0.7307 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00772/0.8103, allocations: 4.566 MB / 0.7352 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.8104, allocations: 8 kB / 0.7352 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.811, allocations: 139.7 kB / 0.7353 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/0.811, allocations: 12 kB / 0.7353 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.8111, allocations: 19.98 kB / 0.7354 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/0.8111, allocations: 15.94 kB / 0.7354 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/0.8111, allocations: 12.44 kB / 0.7354 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.8137, allocations: 2.125 MB / 0.7375 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.8142, allocations: 262.5 kB / 0.7377 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.8144, allocations: 15.98 kB / 0.7377 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.8149, allocations: 19.98 kB / 0.7377 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.8151, allocations: 75.7 kB / 0.7378 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.8151, allocations: 39.98 kB / 0.7379 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001858/0.817, allocations: 1.091 MB / 0.7389 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/0.817, allocations: 0 / 0.7389 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003132/0.8202, allocations: 0.7729 MB / 0.7397 GB, free: 11.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * 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.003544/0.8237, allocations: 5.177 MB / 0.7447 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.8271, allocations: 2.104 MB / 0.7468 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.8272, allocations: 0 / 0.7468 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.8279, allocations: 0.5567 MB / 0.7473 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.8291, allocations: 204 kB / 0.7475 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2662/1.095, allocations: 5.891 MB / 0.7533 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/1.098, allocations: 2.678 MB / 0.7559 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002908/1.101, allocations: 1.128 MB / 0.757 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.103, allocations: 1.266 MB / 0.7582 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/1.103, allocations: 1.688 kB / 0.7582 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/1.166, allocations: 38.06 MB / 0.7954 GB, free: 148 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/1.166, allocations: 145 kB / 0.7955 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/3.791, allocations: 0 / 0.7955 GB, free: 147.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat