Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.2 MB / 245 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 98.36 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4075/0.4075, allocations: 45.22 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 11.98 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4187, allocations: 63.24 MB / 0.5193 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5657, allocations: 103.9 MB / 0.6208 GB, free: 1.672 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.566, allocations: 83.92 kB / 0.6208 GB, free: 1.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1355/0.7015, allocations: 55.09 MB / 0.6746 GB, free: 10.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7015, allocations: 0 / 0.6746 GB, free: 10.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000104/0.7016, allocations: 51.94 kB / 0.6747 GB, free: 10.17 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007093/0.7087, allocations: 2.636 MB / 0.6773 GB, free: 7.477 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.7088, allocations: 8.031 kB / 0.6773 GB, free: 7.469 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001848/0.7107, allocations: 0.5192 MB / 0.6778 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007501/0.7182, allocations: 1.806 MB / 0.6795 GB, free: 5.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005368/0.7236, allocations: 1.668 MB / 0.6812 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.724, allocations: 209.5 kB / 0.6814 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/0.7261, allocations: 267.9 kB / 0.6816 GB, free: 2.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.7395, allocations: 6.323 MB / 0.6878 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.7396, allocations: 11.88 kB / 0.6878 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/0.74, allocations: 131.9 kB / 0.6879 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001034/0.741, allocations: 0.6371 MB / 0.6886 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.7524, allocations: 5.507 MB / 0.6939 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3296/1.082, allocations: 22.13 MB / 0.7155 GB, free: 96.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/1.086, allocations: 2.076 MB / 0.7176 GB, free: 96.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006531/1.093, allocations: 3.53 MB / 0.721 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.093, allocations: 37.59 kB / 0.7211 GB, free: 94.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 6.853e-06/1.093, allocations: 3.188 kB / 0.7211 GB, free: 94.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78): time 0.005351/1.098, allocations: 2.23 MB / 0.7232 GB, free: 94.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/1.098, allocations: 61.55 kB / 0.7233 GB, free: 94.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/1.101, allocations: 1.739 MB / 0.725 GB, free: 94.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/1.101, allocations: 39.86 kB / 0.725 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009288/1.102, allocations: 1.879 MB / 0.7269 GB, free: 93.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/1.102, allocations: 323.2 kB / 0.7272 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/1.102, allocations: 59.5 kB / 0.7272 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.102, allocations: 493.8 kB / 0.7277 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.103, allocations: 0.8454 MB / 0.7285 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/1.105, allocations: 2.707 MB / 0.7312 GB, free: 90.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/1.107, allocations: 1.518 MB / 0.7326 GB, free: 90.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-05/1.107, allocations: 17.66 kB / 0.7327 GB, free: 90.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004721/1.112, allocations: 3.45 MB / 0.736 GB, free: 90.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/1.112, allocations: 33.47 kB / 0.7361 GB, free: 90.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.21e-05/1.112, allocations: 69.78 kB / 0.7361 GB, free: 90.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.121e-05/1.112, allocations: 98.25 kB / 0.7362 GB, free: 90.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.114, allocations: 0.6536 MB / 0.7369 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.613e-05/1.114, allocations: 133.3 kB / 0.737 GB, free: 89.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.116, allocations: 413.9 kB / 0.7374 GB, free: 89.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.116, allocations: 185 kB / 0.7376 GB, free: 89.78 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.002464/1.119, allocations: 1.365 MB / 0.7389 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/1.119, allocations: 157 kB / 0.739 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/1.12, allocations: 209.5 kB / 0.7392 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/1.12, allocations: 14.19 kB / 0.7393 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.12, allocations: 1.469 kB / 0.7393 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.12, allocations: 3.281 kB / 0.7393 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008552/1.128, allocations: 4.146 MB / 0.7433 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.128, allocations: 5.906 kB / 0.7433 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/1.129, allocations: 103.4 kB / 0.7434 GB, free: 88.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/1.129, allocations: 8.75 kB / 0.7434 GB, free: 88.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/1.129, allocations: 21.31 kB / 0.7434 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/1.129, allocations: 12.12 kB / 0.7435 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/1.129, allocations: 16.55 kB / 0.7435 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.131, allocations: 1.651 MB / 0.7451 GB, free: 87.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/1.131, allocations: 256.5 kB / 0.7453 GB, free: 86.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/1.132, allocations: 18.69 kB / 0.7453 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/1.132, allocations: 27.52 kB / 0.7454 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.132, allocations: 52.28 kB / 0.7454 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/1.132, allocations: 29.41 kB / 0.7455 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002175/1.134, allocations: 1.272 MB / 0.7467 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.01e-07/1.134, allocations: 0 / 0.7467 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003202/1.138, allocations: 0.7143 MB / 0.7474 GB, free: 86.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (54): * Single equations (assignments): 51 * 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.00274/1.14, allocations: 3.779 MB / 0.7511 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004172/1.145, allocations: 1.976 MB / 0.753 GB, free: 82.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.145, allocations: 1.094 kB / 0.753 GB, free: 82.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/1.145, allocations: 459.3 kB / 0.7535 GB, free: 82.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.147, allocations: 227.5 kB / 0.7537 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/1.181, allocations: 60.81 MB / 0.8131 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/1.184, allocations: 2.375 MB / 0.8154 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002243/1.186, allocations: 0.9604 MB / 0.8163 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.188, allocations: 1.055 MB / 0.8173 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.253e-06/1.188, allocations: 2.734 kB / 0.8173 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08187/1.269, allocations: 36.77 MB / 0.8532 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.27, allocations: 179.6 kB / 0.8534 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/4.333, allocations: 0 / 0.8534 GB, free: 12.34 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat