Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 46.94 MB / 361.7 MB, free: 4.367 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 0.4969 GB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 66.03 MB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01162/0.319, allocations: 9.596 MB / 0.5708 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.325, allocations: 2.955 MB / 0.5737 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.3263, allocations: 55.81 kB / 0.5737 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.3304, allocations: 2.025 MB / 0.5757 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.3333, allocations: 1.144 MB / 0.5768 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.3341, allocations: 283.5 kB / 0.5771 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.3374, allocations: 2.337 MB / 0.5794 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.3397, allocations: 1.738 MB / 0.5811 GB, free: 260 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.341, allocations: 0.8917 MB / 0.5819 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.3426, allocations: 1.254 MB / 0.5832 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.343, allocations: 196 kB / 0.5833 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.3443, allocations: 0.7255 MB / 0.5841 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.3456, allocations: 1.141 MB / 0.5852 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.3473, allocations: 1.305 MB / 0.5864 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.3527, allocations: 4.33 MB / 0.5907 GB, free: 6.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3527, allocations: 4 kB / 0.5907 GB, free: 6.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3527, allocations: 0 / 0.5907 GB, free: 6.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.3528, allocations: 0 / 0.5907 GB, free: 6.375 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00525/0.3581, allocations: 2.87 MB / 0.5935 GB, free: 3.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3581, allocations: 8.031 kB / 0.5935 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.205e-05/0.3582, allocations: 67.92 kB / 0.5936 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006164/0.3588, allocations: 483.1 kB / 0.594 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/0.364, allocations: 1.578 MB / 0.5956 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.3668, allocations: 1.271 MB / 0.5968 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.367, allocations: 151.6 kB / 0.5969 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.3674, allocations: 191.8 kB / 0.5971 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00963/0.377, allocations: 6.242 MB / 0.6032 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/0.377, allocations: 15.88 kB / 0.6032 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.3773, allocations: 87.91 kB / 0.6033 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002117/0.3794, allocations: 1.344 MB / 0.6046 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009574/0.389, allocations: 5.33 MB / 0.6098 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/0.4187, allocations: 19.96 MB / 0.6293 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/0.4232, allocations: 1.552 MB / 0.6308 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.4243, allocations: 0.6472 MB / 0.6315 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006624/0.4309, allocations: 3.027 MB / 0.6344 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4309, allocations: 39 kB / 0.6345 GB, free: 8.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.008e-06/0.4309, allocations: 0 / 0.6345 GB, free: 8.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00569/0.4366, allocations: 1.982 MB / 0.6364 GB, free: 6.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4367, allocations: 55.84 kB / 0.6365 GB, free: 6.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.44, allocations: 1.942 MB / 0.6384 GB, free: 4.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.44, allocations: 41.69 kB / 0.6384 GB, free: 4.461 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.4416, allocations: 1.907 MB / 0.6403 GB, free: 2.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.442, allocations: 333.5 kB / 0.6406 GB, free: 2.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009208/0.4429, allocations: 0.6195 MB / 0.6412 GB, free: 1.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4431, allocations: 361.9 kB / 0.6415 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.4445, allocations: 0.8881 MB / 0.6424 GB, free: 332 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003112/0.4476, allocations: 2.755 MB / 0.6451 GB, free: 12.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00516/0.4528, allocations: 3.966 MB / 0.649 GB, free: 7.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.568e-05/0.4528, allocations: 20 kB / 0.649 GB, free: 7.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006604/0.4594, allocations: 3.526 MB / 0.6524 GB, free: 4.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.4595, allocations: 36.25 kB / 0.6525 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-05/0.4596, allocations: 68 kB / 0.6525 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.4597, allocations: 91.98 kB / 0.6526 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.4618, allocations: 0.655 MB / 0.6532 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001481/0.4619, allocations: 131.5 kB / 0.6534 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.4642, allocations: 424.8 kB / 0.6538 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/0.4645, allocations: 191.9 kB / 0.654 GB, free: 2.613 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * Array equations: 5 * 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.002295/0.4668, allocations: 1.342 MB / 0.6553 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.4671, allocations: 174.8 kB / 0.6554 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.4675, allocations: 192.9 kB / 0.6556 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.4675, allocations: 8 kB / 0.6556 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.4675, allocations: 4 kB / 0.6556 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4675, allocations: 7.922 kB / 0.6556 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007771/0.4753, allocations: 4.041 MB / 0.6596 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4753, allocations: 4 kB / 0.6596 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.4757, allocations: 99.81 kB / 0.6597 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/0.4758, allocations: 11.94 kB / 0.6597 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.4758, allocations: 20 kB / 0.6597 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-05/0.4758, allocations: 12.5 kB / 0.6597 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4758, allocations: 4 kB / 0.6597 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.4776, allocations: 1.247 MB / 0.6609 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.478, allocations: 182.6 kB / 0.6611 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.4782, allocations: 19.92 kB / 0.6611 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.4787, allocations: 23.98 kB / 0.6612 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.4788, allocations: 55.8 kB / 0.6612 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.4788, allocations: 28 kB / 0.6612 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001802/0.4806, allocations: 1.267 MB / 0.6625 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4806, allocations: 3.938 kB / 0.6625 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002546/0.4832, allocations: 0.7007 MB / 0.6632 GB, free: 8.941 MB / 0.4981 GB 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 (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.002091/0.4853, allocations: 1.849 MB / 0.665 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003205/0.4885, allocations: 1.956 MB / 0.6669 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.4885, allocations: 4.375 kB / 0.6669 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.489, allocations: 431.9 kB / 0.6673 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4903, allocations: 219.6 kB / 0.6675 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/0.5202, allocations: 20.89 MB / 0.6879 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/0.5227, allocations: 2.283 MB / 0.6901 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002211/0.5249, allocations: 0.9441 MB / 0.6911 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/0.5266, allocations: 1.038 MB / 0.6921 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of SimCode: time 8.61e-07/0.5266, allocations: 0 / 0.6921 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06949/0.5961, allocations: 35.26 MB / 0.7265 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.58, allocations: 15.41 kB / 0.7265 GB, free: 5.641 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.36257023300277]