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/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.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/ModelicaServices trunk/package.mo): time 0.0009751/0.000975, allocations: 96.72 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001377, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 45.91 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003962, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03291/0.1763, allocations: 34.12 MB / 0.5037 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2998/0.4762, allocations: 7.256 MB / 0.5108 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008963/0.4852, allocations: 153.6 kB / 0.5109 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006402/0.4916, allocations: 1.503 MB / 0.5124 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0161/0.5077, allocations: 4.404 MB / 0.5167 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.5099, allocations: 242.8 kB / 0.5169 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005321/0.5152, allocations: 2.694 MB / 0.5195 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006008/0.5212, allocations: 2.975 MB / 0.5224 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.5233, allocations: 0.6849 MB / 0.5231 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.5256, allocations: 1.028 MB / 0.5241 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006982/0.5263, allocations: 90.38 kB / 0.5242 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.5282, allocations: 0.5324 MB / 0.5247 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.5298, allocations: 0.991 MB / 0.5257 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.5311, allocations: 0.524 MB / 0.5262 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005904/0.537, allocations: 3.419 MB / 0.5295 GB, free: 5.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5371, allocations: 0 / 0.5295 GB, free: 5.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.5371, allocations: 0 / 0.5295 GB, free: 5.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003974/0.5375, allocations: 0 / 0.5295 GB, free: 5.801 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.009884/0.5474, allocations: 2.45 MB / 0.5319 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.629e-05/0.5475, allocations: 9.312 kB / 0.5319 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002462/0.55, allocations: 497.1 kB / 0.5324 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/0.5551, allocations: 1.631 MB / 0.534 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.5581, allocations: 1.326 MB / 0.5353 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.5582, allocations: 154.3 kB / 0.5354 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005981/0.5588, allocations: 188.2 kB / 0.5356 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.5689, allocations: 6.42 MB / 0.5419 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/0.569, allocations: 12.88 kB / 0.5419 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.5693, allocations: 91.16 kB / 0.542 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.5711, allocations: 1.405 MB / 0.5434 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.5814, allocations: 5.457 MB / 0.5487 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03174/0.6132, allocations: 20.56 MB / 0.5688 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.6174, allocations: 2.076 MB / 0.5708 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009966/0.6184, allocations: 0.6836 MB / 0.5715 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005954/0.6244, allocations: 3.51 MB / 0.5749 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.6245, allocations: 39 kB / 0.5749 GB, free: 2.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.419e-06/0.6245, allocations: 0 / 0.5749 GB, free: 2.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005115/0.6296, allocations: 1.985 MB / 0.5769 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.6297, allocations: 55.84 kB / 0.5769 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.6332, allocations: 1.954 MB / 0.5788 GB, free: 14.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.6333, allocations: 40.59 kB / 0.5789 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.6348, allocations: 1.878 MB / 0.5807 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.6351, allocations: 319.1 kB / 0.581 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.6353, allocations: 57.64 kB / 0.5811 GB, free: 12.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.6356, allocations: 493.3 kB / 0.5815 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.6369, allocations: 0.8803 MB / 0.5824 GB, free: 11.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.6393, allocations: 2.758 MB / 0.5851 GB, free: 7.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.6412, allocations: 1.564 MB / 0.5866 GB, free: 5.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/0.6412, allocations: 20 kB / 0.5866 GB, free: 5.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004879/0.6461, allocations: 3.522 MB / 0.5901 GB, free: 2.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.6462, allocations: 36 kB / 0.5901 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-05/0.6462, allocations: 64 kB / 0.5902 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.75e-05/0.6463, allocations: 104 kB / 0.5903 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.6481, allocations: 0.6589 MB / 0.5909 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001022/0.6482, allocations: 135.4 kB / 0.591 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.6499, allocations: 416.9 kB / 0.5914 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.6502, allocations: 194.8 kB / 0.5916 GB, free: 0.6836 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.002269/0.6525, allocations: 1.365 MB / 0.593 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.6527, allocations: 159.6 kB / 0.5931 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.6531, allocations: 197.2 kB / 0.5933 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.6531, allocations: 11.98 kB / 0.5933 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.6531, allocations: 7.953 kB / 0.5933 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.6531, allocations: 3.984 kB / 0.5933 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.6594, allocations: 4.135 MB / 0.5974 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6594, allocations: 8 kB / 0.5974 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.6598, allocations: 99.81 kB / 0.5975 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.6598, allocations: 8.75 kB / 0.5975 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.6598, allocations: 23.95 kB / 0.5975 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.6599, allocations: 15.94 kB / 0.5975 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/0.6599, allocations: 8 kB / 0.5975 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.6613, allocations: 1.241 MB / 0.5987 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.6618, allocations: 258.7 kB / 0.599 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.6619, allocations: 12 kB / 0.599 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.6624, allocations: 35.83 kB / 0.599 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.6624, allocations: 57.48 kB / 0.5991 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.6625, allocations: 28 kB / 0.5991 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.6642, allocations: 1.268 MB / 0.6003 GB, free: 7.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6642, allocations: 0 / 0.6003 GB, free: 7.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002786/0.667, allocations: 0.7022 MB / 0.601 GB, free: 6.82 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.0019/0.6689, allocations: 1.843 MB / 0.6028 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.672, allocations: 2.023 MB / 0.6048 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.672, allocations: 0 / 0.6048 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.6725, allocations: 457.5 kB / 0.6052 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.6737, allocations: 233.9 kB / 0.6055 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/0.699, allocations: 15.42 MB / 0.6205 GB, free: 1.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003814/0.7029, allocations: 2.331 MB / 0.6228 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002458/0.7054, allocations: 0.9638 MB / 0.6237 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/0.7072, allocations: 1.066 MB / 0.6248 GB, free: 12.85 MB / 478.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7072, allocations: 0 / 0.6248 GB, free: 12.85 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06774/0.775, allocations: 36.64 MB / 0.6605 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.7752, allocations: 187.1 kB / 0.6607 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.47, allocations: 1.875 kB / 0.6607 GB, free: 8.176 MB / 0.4981 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