Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008899/0.0008897, allocations: 102.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009167/0.0009168, allocations: 189.7 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.399/1.399, 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.2066/0.2066, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 4 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03586/0.1765, allocations: 34.12 MB / 0.5037 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3108/0.4874, allocations: 7.259 MB / 0.5108 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006995/0.4945, allocations: 153.3 kB / 0.5109 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005368/0.4999, allocations: 1.51 MB / 0.5124 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.5137, allocations: 4.399 MB / 0.5167 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.5156, allocations: 250 kB / 0.5169 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.5207, allocations: 2.683 MB / 0.5195 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005651/0.5264, allocations: 2.983 MB / 0.5224 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.5279, allocations: 0.684 MB / 0.5231 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.5294, allocations: 1.032 MB / 0.5241 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.5297, allocations: 87.25 kB / 0.5242 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.5309, allocations: 0.5239 MB / 0.5247 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000998/0.5319, allocations: 0.9959 MB / 0.5257 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.5325, allocations: 0.5198 MB / 0.5262 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.5363, allocations: 3.426 MB / 0.5295 GB, free: 5.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5364, allocations: 6.625 kB / 0.5295 GB, free: 5.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5364, allocations: 0 / 0.5295 GB, free: 5.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.5365, allocations: 0 / 0.5295 GB, free: 5.777 MB / 382.1 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.00448/0.541, allocations: 2.443 MB / 0.5319 GB, free: 4.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.541, allocations: 11.91 kB / 0.5319 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007056/0.5417, allocations: 497.2 kB / 0.5324 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.5465, allocations: 1.625 MB / 0.534 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.549, allocations: 1.327 MB / 0.5353 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.5491, allocations: 147.7 kB / 0.5354 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.5494, allocations: 192 kB / 0.5356 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00972/0.5591, allocations: 6.42 MB / 0.5419 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.5592, allocations: 13.31 kB / 0.5419 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.5594, allocations: 90.56 kB / 0.542 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/0.5614, allocations: 1.408 MB / 0.5434 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.5719, allocations: 5.459 MB / 0.5487 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03072/0.6026, allocations: 20.55 MB / 0.5688 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/0.6066, allocations: 2.081 MB / 0.5708 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009186/0.6076, allocations: 0.6875 MB / 0.5715 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005855/0.6134, allocations: 3.509 MB / 0.5749 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6135, allocations: 42.94 kB / 0.5749 GB, free: 2.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.998e-06/0.6135, allocations: 0 / 0.5749 GB, free: 2.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005002/0.6185, allocations: 1.976 MB / 0.5769 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.6186, allocations: 59.84 kB / 0.5769 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.6213, allocations: 1.958 MB / 0.5788 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.6213, allocations: 33.7 kB / 0.5789 GB, free: 14.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.6227, allocations: 1.88 MB / 0.5807 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.623, allocations: 313.5 kB / 0.581 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.6231, allocations: 56 kB / 0.5811 GB, free: 12.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002653/0.6233, allocations: 493.3 kB / 0.5815 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.6245, allocations: 0.8803 MB / 0.5824 GB, free: 11.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/0.6271, allocations: 2.774 MB / 0.5851 GB, free: 7.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.6291, allocations: 1.552 MB / 0.5866 GB, free: 5.883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/0.6292, allocations: 21.2 kB / 0.5866 GB, free: 5.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005122/0.6343, allocations: 3.522 MB / 0.5901 GB, free: 2.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.6343, allocations: 32 kB / 0.5901 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.365e-05/0.6344, allocations: 68 kB / 0.5902 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.6345, allocations: 99.95 kB / 0.5903 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.6363, allocations: 0.6674 MB / 0.5909 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001032/0.6364, allocations: 135.5 kB / 0.591 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.6382, allocations: 412.9 kB / 0.5914 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.6384, allocations: 194.8 kB / 0.5916 GB, free: 0.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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.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 (365): * Single equations (assignments): 360 * Array equations: 5 * 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.002306/0.6407, allocations: 1.363 MB / 0.593 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.641, allocations: 169.8 kB / 0.5931 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.6414, allocations: 198.9 kB / 0.5933 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.6414, allocations: 8 kB / 0.5933 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.6414, allocations: 3.953 kB / 0.5933 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.6414, allocations: 3.984 kB / 0.5933 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006357/0.6478, allocations: 4.144 MB / 0.5974 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.6478, allocations: 4 kB / 0.5974 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.6482, allocations: 99.81 kB / 0.5975 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.6482, allocations: 12 kB / 0.5975 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.6483, allocations: 18.84 kB / 0.5975 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.6483, allocations: 8 kB / 0.5975 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.6483, allocations: 15.92 kB / 0.5975 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.6498, allocations: 1.235 MB / 0.5987 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.6502, allocations: 258.7 kB / 0.599 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6503, allocations: 12 kB / 0.599 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.6507, allocations: 39.83 kB / 0.599 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.6508, allocations: 57.86 kB / 0.5991 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/0.6509, allocations: 26.5 kB / 0.5991 GB, free: 8.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001653/0.6526, allocations: 1.275 MB / 0.6003 GB, free: 7.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6526, allocations: 0 / 0.6003 GB, free: 7.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002751/0.6553, allocations: 0.6937 MB / 0.601 GB, free: 6.887 MB / 446.1 MB 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.001836/0.6572, allocations: 1.845 MB / 0.6028 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.6602, allocations: 2.022 MB / 0.6048 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6602, allocations: 4 kB / 0.6048 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.6607, allocations: 461 kB / 0.6052 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.6619, allocations: 225 kB / 0.6055 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/0.6845, allocations: 15.43 MB / 0.6205 GB, free: 1.297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.6868, allocations: 2.323 MB / 0.6228 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0022/0.689, allocations: 0.9599 MB / 0.6237 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.6903, allocations: 1.069 MB / 0.6248 GB, free: 12.91 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6903, allocations: 0 / 0.6248 GB, free: 12.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0593/0.7496, allocations: 36.64 MB / 0.6606 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.7498, allocations: 184.2 kB / 0.6607 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.306, allocations: 0 / 0.6607 GB, free: 8.234 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat does not exist to compare? outputFormat=mat