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.001723/0.001723, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001831/0.001831, allocations: 212.7 kB / 23.73 MB, free: 4.402 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.2209/0.2209, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.002598/0.002598, allocations: 79.88 kB / 0.4962 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3226, allocations: 66.09 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01656/0.3391, allocations: 13.02 MB / 0.5734 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.3506, allocations: 4.844 MB / 0.5781 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.3538, allocations: 143.2 kB / 0.5783 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.3658, allocations: 5.807 MB / 0.5839 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007239/0.373, allocations: 2.825 MB / 0.5867 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.3766, allocations: 1.579 MB / 0.5882 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.3878, allocations: 7.787 MB / 0.5958 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00783/0.3956, allocations: 5.373 MB / 0.6011 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.401, allocations: 2.988 MB / 0.604 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.4074, allocations: 3.843 MB / 0.6078 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.4093, allocations: 0.5703 MB / 0.6083 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.4132, allocations: 1.287 MB / 0.6096 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00571/0.419, allocations: 3.611 MB / 0.6131 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006376/0.4253, allocations: 2.893 MB / 0.6159 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01647/0.4418, allocations: 11.74 MB / 0.6274 GB, free: 15.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.4418, allocations: 0 / 0.6274 GB, free: 15.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4418, allocations: 0 / 0.6274 GB, free: 15.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005021/0.4423, allocations: 0 / 0.6274 GB, free: 15.43 MB / 478.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.02008/0.4624, allocations: 8.657 MB / 0.6359 GB, free: 6.699 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4624, allocations: 8.031 kB / 0.6359 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002892/0.4653, allocations: 1.173 MB / 0.637 GB, free: 5.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.4764, allocations: 2.562 MB / 0.6395 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.4891, allocations: 5.345 MB / 0.6447 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004982/0.4896, allocations: 426.6 kB / 0.6451 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/0.4916, allocations: 0.5465 MB / 0.6457 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03399/0.5256, allocations: 16.75 MB / 0.662 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/0.5258, allocations: 75.34 kB / 0.6621 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009312/0.5267, allocations: 263.8 kB / 0.6623 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005044/0.5318, allocations: 2.927 MB / 0.6652 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/0.5615, allocations: 12.76 MB / 0.6777 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5237/1.085, allocations: 61.87 MB / 0.7381 GB, free: 138 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/1.099, allocations: 4.889 MB / 0.7429 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/1.102, allocations: 1.994 MB / 0.7448 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/1.115, allocations: 7.671 MB / 0.7523 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.115, allocations: 57.12 kB / 0.7524 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.619e-06/1.115, allocations: 0 / 0.7524 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03701/1.152, allocations: 14.47 MB / 0.7665 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/1.152, allocations: 149.5 kB / 0.7666 GB, free: 127.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.163, allocations: 6.65 MB / 0.7731 GB, free: 121.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/1.163, allocations: 56.75 kB / 0.7732 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003708/1.167, allocations: 5.273 MB / 0.7783 GB, free: 116.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009589/1.168, allocations: 0.8481 MB / 0.7791 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002519/1.17, allocations: 1.675 MB / 0.7808 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.212e-05/1.17, allocations: 309.1 kB / 0.7811 GB, free: 113.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004753/1.175, allocations: 2.296 MB / 0.7833 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008229/1.183, allocations: 7.636 MB / 0.7908 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.195, allocations: 10.81 MB / 0.8013 GB, free: 87.88 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000222/1.195, allocations: 56 kB / 0.8014 GB, free: 87.82 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01953/1.215, allocations: 9.59 MB / 0.8108 GB, free: 78.23 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/1.215, allocations: 92.03 kB / 0.8108 GB, free: 78.14 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/1.215, allocations: 192 kB / 0.811 GB, free: 77.95 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/1.215, allocations: 248 kB / 0.8113 GB, free: 77.71 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007159/1.222, allocations: 1.903 MB / 0.8131 GB, free: 75.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002343/1.223, allocations: 370.6 kB / 0.8135 GB, free: 75.44 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/1.229, allocations: 407.6 kB / 0.8139 GB, free: 75.04 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008028/1.23, allocations: 0.5111 MB / 0.8144 GB, free: 74.54 MB / 0.5607 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.004348/1.234, allocations: 3.29 MB / 0.8176 GB, free: 71.23 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000825/1.235, allocations: 0.5548 MB / 0.8181 GB, free: 70.68 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/1.236, allocations: 0.6399 MB / 0.8187 GB, free: 70.03 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/1.236, allocations: 23.83 kB / 0.8188 GB, free: 70.01 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.236, allocations: 0 / 0.8188 GB, free: 70.01 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.236, allocations: 11.97 kB / 0.8188 GB, free: 70 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.258, allocations: 16.14 MB / 0.8345 GB, free: 53.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/1.258, allocations: 39.88 kB / 0.8346 GB, free: 53.27 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.259, allocations: 391.2 kB / 0.8349 GB, free: 52.89 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.093e-05/1.259, allocations: 51.94 kB / 0.835 GB, free: 52.84 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.259, allocations: 95.73 kB / 0.8351 GB, free: 52.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.211e-05/1.259, allocations: 75.66 kB / 0.8352 GB, free: 52.67 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.217e-05/1.259, allocations: 59.75 kB / 0.8352 GB, free: 52.61 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/1.263, allocations: 3.961 MB / 0.8391 GB, free: 48.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.264, allocations: 0.5585 MB / 0.8396 GB, free: 47.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/1.264, allocations: 91.91 kB / 0.8397 GB, free: 47.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.266, allocations: 99.94 kB / 0.8398 GB, free: 47.35 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/1.267, allocations: 262.7 kB / 0.8401 GB, free: 47.09 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.267, allocations: 108 kB / 0.8402 GB, free: 46.98 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004893/1.272, allocations: 3.955 MB / 0.844 GB, free: 43.04 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.1e-07/1.272, allocations: 0 / 0.844 GB, free: 43.04 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006501/1.278, allocations: 1.3 MB / 0.8453 GB, free: 41.74 MB / 0.5607 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.003655/1.282, allocations: 4.695 MB / 0.8499 GB, free: 36.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006929/1.289, allocations: 5.166 MB / 0.8549 GB, free: 31.38 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.052e-05/1.289, allocations: 8 kB / 0.8549 GB, free: 31.38 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/1.29, allocations: 1.082 MB / 0.856 GB, free: 30.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005772/1.296, allocations: 0.8636 MB / 0.8568 GB, free: 29.46 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1036/1.399, allocations: 65.16 MB / 0.9205 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00979/1.409, allocations: 4.577 MB / 0.9249 GB, free: 14.58 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007096/1.416, allocations: 2.514 MB / 0.9274 GB, free: 12.06 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005802/1.422, allocations: 3.28 MB / 0.9306 GB, free: 8.777 MB / 0.6232 GB Notification: Performance of SimCode: time 9.71e-07/1.422, allocations: 0 / 0.9306 GB, free: 8.777 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.41/1.832, allocations: 91.94 MB / 1.02 GB, free: 215.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.35/21.18, allocations: 4 kB / 1.02 GB, free: 215.5 MB / 0.67 GB " [Timeout remaining time 639] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 25.15013509662822]