Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008847, allocations: 96.97 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009212/0.0009213, allocations: 181.7 kB / 17.89 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2115/0.2115, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 17.02 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3283/0.449, allocations: 90.21 MB / 0.5487 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04345/0.4925, allocations: 18.11 MB / 0.5664 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02049/0.513, allocations: 443.6 kB / 0.5668 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01624/0.5293, allocations: 4.852 MB / 0.5715 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03909/0.5685, allocations: 14.17 MB / 0.5854 GB, free: 176 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007142/0.5756, allocations: 1.261 MB / 0.5866 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01368/0.5894, allocations: 8.908 MB / 0.5953 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0164/0.6058, allocations: 9.047 MB / 0.6041 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005673/0.6115, allocations: 2.433 MB / 0.6065 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006006/0.6176, allocations: 3.529 MB / 0.61 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.619, allocations: 252 kB / 0.6102 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.622, allocations: 0.9713 MB / 0.6112 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004037/0.6261, allocations: 3.148 MB / 0.6142 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.6284, allocations: 1.438 MB / 0.6156 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.6403, allocations: 9.302 MB / 0.6247 GB, free: 7.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6403, allocations: 0 / 0.6247 GB, free: 7.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.6403, allocations: 4 kB / 0.6247 GB, free: 7.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004346/0.6408, allocations: 0 / 0.6247 GB, free: 7.719 MB / 462.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.0167/0.6575, allocations: 7.323 MB / 0.6319 GB, free: 320 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.6576, allocations: 8.031 kB / 0.6319 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002973/0.6605, allocations: 1.223 MB / 0.6331 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009899/0.6704, allocations: 2.688 MB / 0.6357 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.6813, allocations: 5.704 MB / 0.6413 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/0.6818, allocations: 438.9 kB / 0.6417 GB, free: 6.156 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/0.6837, allocations: 0.5582 MB / 0.6422 GB, free: 5.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03762/0.7213, allocations: 17.44 MB / 0.6593 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/0.7217, allocations: 75.39 kB / 0.6593 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001318/0.723, allocations: 267.8 kB / 0.6596 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00512/0.7281, allocations: 3.17 MB / 0.6627 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02944/0.7576, allocations: 13.39 MB / 0.6758 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5219/1.279, allocations: 65.96 MB / 0.7402 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/1.293, allocations: 5.48 MB / 0.7455 GB, free: 141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/1.295, allocations: 2.109 MB / 0.7476 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/1.308, allocations: 10 MB / 0.7574 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/1.308, allocations: 54.86 kB / 0.7574 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 3.937e-06/1.308, allocations: 0 / 0.7574 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.0315/1.339, allocations: 14.33 MB / 0.7714 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.34, allocations: 151 kB / 0.7715 GB, free: 127 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006938/1.346, allocations: 6.373 MB / 0.7778 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002689/1.347, allocations: 54.8 kB / 0.7778 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002315/1.349, allocations: 5.261 MB / 0.783 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007139/1.35, allocations: 0.8125 MB / 0.7837 GB, free: 117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.35, allocations: 167.6 kB / 0.7839 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002916/1.35, allocations: 0.6654 MB / 0.7846 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/1.353, allocations: 2.281 MB / 0.7868 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/1.358, allocations: 7.692 MB / 0.7943 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005117/1.363, allocations: 4.029 MB / 0.7982 GB, free: 99.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.363, allocations: 56 kB / 0.7983 GB, free: 99.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01555/1.379, allocations: 9.602 MB / 0.8077 GB, free: 90.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.379, allocations: 88 kB / 0.8077 GB, free: 90.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/1.379, allocations: 192 kB / 0.8079 GB, free: 89.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/1.38, allocations: 280 kB / 0.8082 GB, free: 89.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/1.385, allocations: 1.926 MB / 0.8101 GB, free: 87.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002419/1.386, allocations: 378.5 kB / 0.8104 GB, free: 87.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005963/1.391, allocations: 411.5 kB / 0.8108 GB, free: 86.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.393, allocations: 0.5173 MB / 0.8113 GB, free: 86.47 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.005132/1.398, allocations: 3.408 MB / 0.8147 GB, free: 83.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008902/1.399, allocations: 0.532 MB / 0.8152 GB, free: 82.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/1.4, allocations: 0.6406 MB / 0.8158 GB, free: 81.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.4, allocations: 24 kB / 0.8158 GB, free: 81.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/1.4, allocations: 0 / 0.8158 GB, free: 81.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.4, allocations: 7.969 kB / 0.8158 GB, free: 81.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/1.424, allocations: 16.7 MB / 0.8322 GB, free: 64.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.223e-05/1.424, allocations: 40 kB / 0.8322 GB, free: 64.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/1.425, allocations: 387.2 kB / 0.8326 GB, free: 64.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.577e-05/1.425, allocations: 59.69 kB / 0.8326 GB, free: 64.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/1.425, allocations: 81.41 kB / 0.8327 GB, free: 64.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.631e-05/1.425, allocations: 83.66 kB / 0.8328 GB, free: 63.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.32e-05/1.425, allocations: 63.92 kB / 0.8328 GB, free: 63.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/1.43, allocations: 3.931 MB / 0.8367 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.432, allocations: 0.6265 MB / 0.8373 GB, free: 58.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008633/1.432, allocations: 93.06 kB / 0.8374 GB, free: 58.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.434, allocations: 103.9 kB / 0.8375 GB, free: 58.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/1.435, allocations: 255 kB / 0.8377 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.435, allocations: 113.2 kB / 0.8378 GB, free: 58.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005786/1.441, allocations: 3.961 MB / 0.8417 GB, free: 54.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.182e-06/1.441, allocations: 0 / 0.8417 GB, free: 54.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008345/1.449, allocations: 1.363 MB / 0.843 GB, free: 52.89 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.004118/1.453, allocations: 4.64 MB / 0.8476 GB, free: 47.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00738/1.46, allocations: 5.287 MB / 0.8527 GB, free: 42.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.798e-05/1.461, allocations: 8 kB / 0.8527 GB, free: 42.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/1.462, allocations: 1.125 MB / 0.8538 GB, free: 41.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005552/1.468, allocations: 0.8599 MB / 0.8547 GB, free: 40.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08498/1.553, allocations: 55.59 MB / 0.909 GB, free: 10.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008197/1.561, allocations: 5.223 MB / 0.9141 GB, free: 5.242 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006859/1.568, allocations: 2.542 MB / 0.9165 GB, free: 2.699 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2213/1.789, allocations: 3.411 MB / 0.9199 GB, free: 196 MB / 0.5607 GB Notification: Performance of SimCode: time 1.653e-06/1.789, allocations: 0 / 0.9199 GB, free: 196 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3436/2.133, allocations: 107.7 MB / 1.025 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/2.133, allocations: 180 kB / 1.025 GB, free: 116.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.094/7.227, allocations: 0 / 1.025 GB, free: 116.2 MB / 0.5607 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat