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.0009065/0.0009065, allocations: 101.7 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009521/0.0009522, allocations: 206 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004038, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 63.46 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02971/0.167, allocations: 32.32 MB / 0.5018 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.304/0.4711, allocations: 7.561 MB / 0.5092 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007488/0.4787, allocations: 152.2 kB / 0.5093 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007474/0.4862, allocations: 1.658 MB / 0.5109 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0231/0.5093, allocations: 4.717 MB / 0.5155 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.5126, allocations: 219.1 kB / 0.5158 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00425/0.5168, allocations: 1.322 MB / 0.517 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005139/0.522, allocations: 2.952 MB / 0.5199 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.5233, allocations: 0.5573 MB / 0.5205 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.5245, allocations: 0.6954 MB / 0.5212 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000303/0.5248, allocations: 92.19 kB / 0.5212 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.526, allocations: 0.5177 MB / 0.5217 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.527, allocations: 0.9199 MB / 0.5226 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.5277, allocations: 0.523 MB / 0.5232 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.5316, allocations: 3.419 MB / 0.5265 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.5316, allocations: 0 / 0.5265 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5316, allocations: 0 / 0.5265 GB, free: 7.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.5318, allocations: 0 / 0.5265 GB, free: 7.512 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.006601/0.5384, allocations: 2.501 MB / 0.5289 GB, free: 5.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/0.5385, allocations: 9.25 kB / 0.5289 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001536/0.54, allocations: 497.2 kB / 0.5294 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.5465, allocations: 1.914 MB / 0.5313 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.5515, allocations: 1.32 MB / 0.5326 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.5517, allocations: 154.2 kB / 0.5327 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009212/0.5527, allocations: 188.9 kB / 0.5329 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.5643, allocations: 6.459 MB / 0.5392 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.5644, allocations: 14.3 kB / 0.5392 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.5647, allocations: 90.78 kB / 0.5393 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.5668, allocations: 1.404 MB / 0.5407 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.5783, allocations: 5.516 MB / 0.5461 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.6104, allocations: 20.6 MB / 0.5662 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.615, allocations: 2.08 MB / 0.5682 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007291/0.6223, allocations: 3.54 MB / 0.5717 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.6224, allocations: 39 kB / 0.5717 GB, free: 7.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.348e-06/0.6224, allocations: 0 / 0.5717 GB, free: 7.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005485/0.6279, allocations: 2.239 MB / 0.5739 GB, free: 4.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.628, allocations: 63.78 kB / 0.574 GB, free: 4.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.6309, allocations: 1.948 MB / 0.5759 GB, free: 2.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.631, allocations: 37.7 kB / 0.5759 GB, free: 2.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.6323, allocations: 1.877 MB / 0.5777 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.6326, allocations: 318.2 kB / 0.578 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6327, allocations: 63.2 kB / 0.5781 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.633, allocations: 493.3 kB / 0.5786 GB, free: 76 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.6342, allocations: 0.8772 MB / 0.5794 GB, free: 15.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/0.6369, allocations: 2.747 MB / 0.5821 GB, free: 11.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.639, allocations: 1.571 MB / 0.5836 GB, free: 9.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.149e-05/0.6391, allocations: 24 kB / 0.5837 GB, free: 9.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006007/0.6451, allocations: 3.511 MB / 0.5871 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.6452, allocations: 36.19 kB / 0.5871 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.535e-05/0.6452, allocations: 68 kB / 0.5872 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.6454, allocations: 103.9 kB / 0.5873 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.6472, allocations: 0.6628 MB / 0.5879 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/0.6473, allocations: 135.4 kB / 0.5881 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.6496, allocations: 417.4 kB / 0.5885 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.6499, allocations: 191 kB / 0.5886 GB, free: 4.812 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.002554/0.6524, allocations: 1.369 MB / 0.59 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.6528, allocations: 157.8 kB / 0.5901 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.6531, allocations: 201.2 kB / 0.5903 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.6531, allocations: 9.531 kB / 0.5903 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.6532, allocations: 3.953 kB / 0.5903 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6532, allocations: 7.984 kB / 0.5903 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007526/0.6607, allocations: 4.128 MB / 0.5944 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.6608, allocations: 4 kB / 0.5944 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.6612, allocations: 103.8 kB / 0.5945 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.6612, allocations: 8 kB / 0.5945 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.6613, allocations: 19.95 kB / 0.5945 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.6613, allocations: 16.48 kB / 0.5945 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6613, allocations: 4 kB / 0.5945 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.6632, allocations: 1.659 MB / 0.5961 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/0.6638, allocations: 254.7 kB / 0.5964 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.664, allocations: 23.95 kB / 0.5964 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.6644, allocations: 23.89 kB / 0.5964 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.6645, allocations: 61.91 kB / 0.5965 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.6646, allocations: 28 kB / 0.5965 GB, free: 12.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002081/0.6667, allocations: 1.271 MB / 0.5978 GB, free: 11.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6667, allocations: 0 / 0.5978 GB, free: 11.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00348/0.6702, allocations: 0.7043 MB / 0.5985 GB, free: 10.34 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.002907/0.6731, allocations: 3.778 MB / 0.6021 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00355/0.6767, allocations: 2.017 MB / 0.6041 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6767, allocations: 0 / 0.6041 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.6773, allocations: 458.8 kB / 0.6046 GB, free: 3.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.6785, allocations: 228.6 kB / 0.6048 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/0.7109, allocations: 55.34 MB / 0.6588 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.7134, allocations: 2.379 MB / 0.6611 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002263/0.7157, allocations: 0.9677 MB / 0.6621 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/0.7172, allocations: 1.069 MB / 0.6631 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.7172, allocations: 0 / 0.6631 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06252/0.7797, allocations: 36.18 MB / 0.6985 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.7799, allocations: 175.8 kB / 0.6986 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.23, allocations: 0 / 0.6986 GB, free: 1.988 MB / 0.5294 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