Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009031/0.0009028, allocations: 95.81 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001062, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002744, allocations: 11.94 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 63.46 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3779/0.5062, allocations: 90.24 MB / 0.5585 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05352/0.5598, allocations: 18.13 MB / 0.5762 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02346/0.5833, allocations: 442.9 kB / 0.5766 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01757/0.6009, allocations: 4.852 MB / 0.5813 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04478/0.6457, allocations: 14.16 MB / 0.5952 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007307/0.6531, allocations: 1.256 MB / 0.5964 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0137/0.6668, allocations: 9.167 MB / 0.6053 GB, free: 9.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/0.6815, allocations: 9.021 MB / 0.6142 GB, free: 144 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006205/0.6878, allocations: 2.453 MB / 0.6166 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006839/0.6947, allocations: 3.517 MB / 0.62 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002147/0.6969, allocations: 256 kB / 0.6202 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.701, allocations: 0.9441 MB / 0.6212 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005002/0.7061, allocations: 3.148 MB / 0.6242 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.7094, allocations: 1.438 MB / 0.6256 GB, free: 4.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.7214, allocations: 9.301 MB / 0.6347 GB, free: 11.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.7214, allocations: 0 / 0.6347 GB, free: 11.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7214, allocations: 0 / 0.6347 GB, free: 11.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004697/0.7219, allocations: 3.938 kB / 0.6347 GB, free: 11.02 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01745/0.7394, allocations: 7.312 MB / 0.6419 GB, free: 3.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.7394, allocations: 8.031 kB / 0.6419 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004746/0.7442, allocations: 1.223 MB / 0.6431 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.7556, allocations: 2.68 MB / 0.6457 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.7675, allocations: 5.287 MB / 0.6508 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/0.768, allocations: 430.9 kB / 0.6513 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.7702, allocations: 0.562 MB / 0.6518 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03618/0.8064, allocations: 17.43 MB / 0.6688 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003615/0.8068, allocations: 75.33 kB / 0.6689 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/0.809, allocations: 267.8 kB / 0.6692 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005072/0.8141, allocations: 3.174 MB / 0.6723 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0328/0.8469, allocations: 13.38 MB / 0.6853 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5973/1.444, allocations: 65.95 MB / 0.7497 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/1.458, allocations: 5.487 MB / 0.7551 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/1.461, allocations: 2.111 MB / 0.7571 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/1.476, allocations: 10.01 MB / 0.7669 GB, free: 125 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/1.476, allocations: 55.59 kB / 0.767 GB, free: 125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 6.783e-06/1.476, allocations: 0 / 0.767 GB, free: 125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03305/1.509, allocations: 14.33 MB / 0.781 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/1.509, allocations: 145.8 kB / 0.7811 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007543/1.517, allocations: 6.381 MB / 0.7873 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004168/1.517, allocations: 58.88 kB / 0.7874 GB, free: 105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003014/1.52, allocations: 5.242 MB / 0.7925 GB, free: 99.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007023/1.521, allocations: 0.8223 MB / 0.7933 GB, free: 98.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/1.521, allocations: 161.2 kB / 0.7935 GB, free: 98.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003224/1.521, allocations: 0.6616 MB / 0.7941 GB, free: 98.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/1.524, allocations: 2.281 MB / 0.7963 GB, free: 95.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/1.529, allocations: 7.699 MB / 0.8039 GB, free: 85.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005423/1.535, allocations: 4.038 MB / 0.8078 GB, free: 81.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001489/1.535, allocations: 52 kB / 0.8078 GB, free: 81.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.0159/1.551, allocations: 9.588 MB / 0.8172 GB, free: 71.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-05/1.551, allocations: 92.25 kB / 0.8173 GB, free: 71.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/1.551, allocations: 192 kB / 0.8175 GB, free: 71.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/1.551, allocations: 280 kB / 0.8178 GB, free: 71.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/1.556, allocations: 1.926 MB / 0.8196 GB, free: 69.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001962/1.557, allocations: 382.4 kB / 0.82 GB, free: 69.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005227/1.562, allocations: 413.4 kB / 0.8204 GB, free: 68.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006733/1.562, allocations: 0.5174 MB / 0.8209 GB, free: 68.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1039): * Single equations (assignments): 1028 * Array equations: 11 * 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.004919/1.567, allocations: 3.403 MB / 0.8242 GB, free: 64.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008257/1.568, allocations: 0.5321 MB / 0.8247 GB, free: 64.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/1.569, allocations: 0.629 MB / 0.8254 GB, free: 63.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/1.569, allocations: 21.02 kB / 0.8254 GB, free: 63.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/1.569, allocations: 4 kB / 0.8254 GB, free: 63.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.569, allocations: 11.92 kB / 0.8254 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.59, allocations: 16.71 MB / 0.8417 GB, free: 46.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/1.591, allocations: 36 kB / 0.8417 GB, free: 46.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.592, allocations: 383.2 kB / 0.8421 GB, free: 45.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.361e-05/1.592, allocations: 56 kB / 0.8422 GB, free: 45.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/1.592, allocations: 84.72 kB / 0.8422 GB, free: 45.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.846e-05/1.592, allocations: 71.72 kB / 0.8423 GB, free: 45.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.059e-05/1.592, allocations: 63.75 kB / 0.8424 GB, free: 45.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00439/1.597, allocations: 3.943 MB / 0.8462 GB, free: 41.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.598, allocations: 0.6188 MB / 0.8468 GB, free: 40.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.599, allocations: 93.77 kB / 0.8469 GB, free: 40.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/1.602, allocations: 103.9 kB / 0.847 GB, free: 40.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/1.602, allocations: 266.9 kB / 0.8473 GB, free: 39.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.602, allocations: 108.2 kB / 0.8474 GB, free: 39.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006197/1.608, allocations: 3.961 MB / 0.8512 GB, free: 35.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.02e-07/1.608, allocations: 3.938 kB / 0.8512 GB, free: 35.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008155/1.617, allocations: 1.359 MB / 0.8526 GB, free: 34.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.005095/1.622, allocations: 4.639 MB / 0.8571 GB, free: 29.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008318/1.63, allocations: 5.282 MB / 0.8623 GB, free: 24.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-05/1.63, allocations: 8.25 kB / 0.8623 GB, free: 24.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.632, allocations: 1.125 MB / 0.8634 GB, free: 22.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007176/1.639, allocations: 0.852 MB / 0.8642 GB, free: 22.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1215/1.76, allocations: 55.61 MB / 0.9185 GB, free: 8.129 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008236/1.769, allocations: 5.234 MB / 0.9236 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006767/1.776, allocations: 2.538 MB / 0.9261 GB, free: 328 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2322/2.008, allocations: 3.403 MB / 0.9294 GB, free: 201.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.803e-06/2.008, allocations: 0 / 0.9294 GB, free: 201.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/2.166, allocations: 107.7 MB / 1.035 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/2.166, allocations: 178.1 kB / 1.035 GB, free: 124.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.447/7.613, allocations: 3.75 kB / 1.035 GB, free: 124.2 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat