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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.243/0.243, allocations: 46.9 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 83.88 kB / 0.4913 GB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1275, allocations: 65.98 MB / 0.5557 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01813/0.1456, allocations: 15.06 MB / 0.5704 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1571, allocations: 5.065 MB / 0.5753 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.1598, allocations: 115.7 kB / 0.5754 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.1716, allocations: 6.048 MB / 0.5814 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007806/0.1794, allocations: 2.809 MB / 0.5841 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.1836, allocations: 1.575 MB / 0.5856 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2873/0.4709, allocations: 7.801 MB / 0.5933 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009725/0.4806, allocations: 6.108 MB / 0.5992 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00633/0.487, allocations: 2.95 MB / 0.6021 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007828/0.4948, allocations: 4.09 MB / 0.6061 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003252/0.498, allocations: 0.5711 MB / 0.6067 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004922/0.503, allocations: 1.433 MB / 0.6081 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005752/0.5087, allocations: 3.613 MB / 0.6116 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007855/0.5166, allocations: 3.853 MB / 0.6153 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.5327, allocations: 11.67 MB / 0.6267 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.5327, allocations: 0 / 0.6267 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5327, allocations: 3.188 kB / 0.6267 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005471/0.5332, allocations: 0 / 0.6267 GB, free: 13.92 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02465/0.5579, allocations: 8.727 MB / 0.6353 GB, free: 8.102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5579, allocations: 11 kB / 0.6353 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003802/0.5617, allocations: 1.167 MB / 0.6364 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.5728, allocations: 2.564 MB / 0.6389 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.586, allocations: 5.426 MB / 0.6442 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000467/0.5864, allocations: 435 kB / 0.6446 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/0.5889, allocations: 0.542 MB / 0.6452 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03735/0.6263, allocations: 16.68 MB / 0.6614 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003007/0.6266, allocations: 76.88 kB / 0.6615 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/0.6284, allocations: 260.5 kB / 0.6618 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00499/0.6334, allocations: 2.932 MB / 0.6646 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03022/0.6636, allocations: 12.78 MB / 0.6771 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09551/0.7591, allocations: 64.09 MB / 0.7397 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/0.7763, allocations: 5.353 MB / 0.7449 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004029/0.7803, allocations: 2.002 MB / 0.7469 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0224/0.8027, allocations: 9.94 MB / 0.7566 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.402e-05/0.8028, allocations: 55.16 kB / 0.7566 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=182): time 3.847e-06/0.8028, allocations: 0 / 0.7566 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=206): time 0.04438/0.8471, allocations: 14.46 MB / 0.7708 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.8473, allocations: 149.8 kB / 0.7709 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/0.8599, allocations: 6.335 MB / 0.7771 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003665/0.8602, allocations: 57.7 kB / 0.7771 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004973/0.8652, allocations: 5.276 MB / 0.7823 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/0.8664, allocations: 0.8572 MB / 0.7831 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003291/0.8696, allocations: 1.669 MB / 0.7848 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8698, allocations: 301.1 kB / 0.7851 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004533/0.8743, allocations: 2.289 MB / 0.7873 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009747/0.8841, allocations: 7.635 MB / 0.7947 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01435/0.8984, allocations: 10.82 MB / 0.8053 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001908/0.8986, allocations: 56 kB / 0.8054 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02037/0.919, allocations: 9.603 MB / 0.8147 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.9191, allocations: 84 kB / 0.8148 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/0.9193, allocations: 192 kB / 0.815 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.9196, allocations: 248.8 kB / 0.8152 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006382/0.926, allocations: 1.906 MB / 0.8171 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003534/0.9263, allocations: 366.6 kB / 0.8175 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/0.9322, allocations: 407.5 kB / 0.8178 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.9335, allocations: 0.5159 MB / 0.8183 GB, free: 9.445 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.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 (1027): * Single equations (assignments): 1016 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006795/0.9403, allocations: 3.288 MB / 0.8216 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.9414, allocations: 0.5587 MB / 0.8221 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.9433, allocations: 0.6244 MB / 0.8227 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-05/0.9433, allocations: 27.94 kB / 0.8227 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.9433, allocations: 7.984 kB / 0.8227 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.9434, allocations: 11.97 kB / 0.8228 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0332/0.9766, allocations: 16.45 MB / 0.8388 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001002/0.9767, allocations: 40 kB / 0.8389 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.9782, allocations: 383.2 kB / 0.8392 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.567e-05/0.9782, allocations: 52.75 kB / 0.8393 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002825/0.9785, allocations: 82.27 kB / 0.8394 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.118e-05/0.9786, allocations: 75.72 kB / 0.8394 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.714e-05/0.9786, allocations: 63.69 kB / 0.8395 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2552/1.234, allocations: 3.97 MB / 0.8434 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.236, allocations: 0.6389 MB / 0.844 GB, free: 219.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.237, allocations: 88.59 kB / 0.8441 GB, free: 219.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/1.24, allocations: 103 kB / 0.8442 GB, free: 219.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/1.241, allocations: 265.4 kB / 0.8444 GB, free: 219.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.241, allocations: 108.4 kB / 0.8445 GB, free: 219.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008891/1.25, allocations: 3.952 MB / 0.8484 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.8e-07/1.25, allocations: 0 / 0.8484 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008166/1.258, allocations: 1.299 MB / 0.8497 GB, free: 219.2 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006623/1.265, allocations: 4.684 MB / 0.8542 GB, free: 216.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.275, allocations: 5.165 MB / 0.8593 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.043e-05/1.275, allocations: 10.72 kB / 0.8593 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/1.277, allocations: 1.084 MB / 0.8603 GB, free: 214.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00714/1.284, allocations: 0.8496 MB / 0.8612 GB, free: 214.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08771/1.372, allocations: 65.17 MB / 0.9248 GB, free: 160.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008954/1.381, allocations: 5.063 MB / 0.9298 GB, free: 156.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006078/1.387, allocations: 2.516 MB / 0.9322 GB, free: 155.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004193/1.391, allocations: 3.276 MB / 0.9354 GB, free: 152 MB / 0.6544 GB Notification: Performance of SimCode: time 1.493e-06/1.391, allocations: 0 / 0.9354 GB, free: 152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/1.517, allocations: 92.25 MB / 1.026 GB, free: 60.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.46/32.98, allocations: 24.58 kB / 1.026 GB, free: 60.14 MB / 0.6544 GB " [Timeout remaining time 627] (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/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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 37.394930724054575]