Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3355/0.3355, allocations: 44.24 MB / 326.5 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 79.86 kB / 462.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2701, allocations: 60.99 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01498/0.2851, allocations: 17.11 MB / 0.5276 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.2975, allocations: 5.342 MB / 0.5328 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.3005, allocations: 127.6 kB / 0.533 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.3129, allocations: 6.145 MB / 0.539 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009685/0.3226, allocations: 3.163 MB / 0.542 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.3271, allocations: 1.591 MB / 0.5436 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.3412, allocations: 8.193 MB / 0.5516 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.3521, allocations: 6.338 MB / 0.5578 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006732/0.3588, allocations: 3.201 MB / 0.5609 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007898/0.3667, allocations: 4.549 MB / 0.5654 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002856/0.3696, allocations: 0.6406 MB / 0.566 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004566/0.3741, allocations: 1.506 MB / 0.5675 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006085/0.3802, allocations: 4.02 MB / 0.5714 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007938/0.3882, allocations: 4.315 MB / 0.5756 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01885/0.407, allocations: 13.19 MB / 0.5885 GB, free: 15.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.407, allocations: 0 / 0.5885 GB, free: 15.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.407, allocations: 0 / 0.5885 GB, free: 15.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000461/0.4075, allocations: 0 / 0.5885 GB, free: 15.23 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02265/0.4301, allocations: 9.574 MB / 0.5978 GB, free: 5.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4302, allocations: 11.89 kB / 0.5978 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003671/0.4339, allocations: 1.311 MB / 0.5991 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.4465, allocations: 2.757 MB / 0.6018 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.4616, allocations: 6.701 MB / 0.6084 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004823/0.4621, allocations: 471.5 kB / 0.6088 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.4645, allocations: 0.5856 MB / 0.6094 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03985/0.5043, allocations: 18.72 MB / 0.6277 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002968/0.5046, allocations: 79.34 kB / 0.6277 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001681/0.5063, allocations: 287.7 kB / 0.628 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005721/0.512, allocations: 3.448 MB / 0.6314 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0353/0.5473, allocations: 14.62 MB / 0.6457 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5037/1.051, allocations: 70.34 MB / 0.7143 GB, free: 58.83 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.066, allocations: 5.952 MB / 0.7202 GB, free: 53.21 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003183/1.069, allocations: 2.292 MB / 0.7224 GB, free: 50.91 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01905/1.088, allocations: 10.86 MB / 0.733 GB, free: 39.83 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/1.088, allocations: 60.56 kB / 0.7331 GB, free: 39.76 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=238): time 5.35e-06/1.088, allocations: 0 / 0.7331 GB, free: 39.76 MB / 0.4982 GB Notification: Performance of matching and sorting (n=262): time 0.03716/1.125, allocations: 16.45 MB / 0.7491 GB, free: 23.77 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/1.125, allocations: 166.5 kB / 0.7493 GB, free: 23.57 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008525/1.134, allocations: 6.697 MB / 0.7558 GB, free: 17.02 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0004696/1.134, allocations: 69.62 kB / 0.7559 GB, free: 16.94 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002838/1.137, allocations: 5.76 MB / 0.7615 GB, free: 11.41 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/1.138, allocations: 1.062 MB / 0.7625 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/1.14, allocations: 1.826 MB / 0.7643 GB, free: 8.496 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/1.14, allocations: 309.1 kB / 0.7646 GB, free: 8.191 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003647/1.144, allocations: 2.622 MB / 0.7672 GB, free: 5.562 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008402/1.152, allocations: 8.333 MB / 0.7753 GB, free: 10.39 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/1.168, allocations: 11.94 MB / 0.787 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001623/1.168, allocations: 59.98 kB / 0.787 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02274/1.191, allocations: 10.66 MB / 0.7975 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/1.191, allocations: 92 kB / 0.7975 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003515/1.192, allocations: 200 kB / 0.7977 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/1.192, allocations: 268 kB / 0.798 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007655/1.2, allocations: 2.121 MB / 0.8001 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004063/1.2, allocations: 394.5 kB / 0.8004 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00674/1.207, allocations: 451.5 kB / 0.8009 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/1.208, allocations: 0.5625 MB / 0.8014 GB, free: 12.81 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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 (1139): * Single equations (assignments): 1128 * 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.007567/1.216, allocations: 3.613 MB / 0.805 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/1.217, allocations: 0.6129 MB / 0.8055 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005919/1.223, allocations: 2.795 MB / 0.8083 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.746e-05/1.223, allocations: 28 kB / 0.8083 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.223, allocations: 0 / 0.8083 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/1.223, allocations: 19.89 kB / 0.8083 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04562/1.269, allocations: 26.58 MB / 0.8343 GB, free: 10.33 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001097/1.269, allocations: 56 kB / 0.8343 GB, free: 10.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/1.271, allocations: 0.5263 MB / 0.8349 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.477e-05/1.271, allocations: 68 kB / 0.8349 GB, free: 9.68 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/1.271, allocations: 116.6 kB / 0.835 GB, free: 9.566 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.28e-05/1.271, allocations: 107.6 kB / 0.8351 GB, free: 9.461 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.944e-05/1.271, allocations: 87.62 kB / 0.8352 GB, free: 9.375 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/1.279, allocations: 5.279 MB / 0.8404 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/1.281, allocations: 0.7038 MB / 0.8411 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/1.282, allocations: 124 kB / 0.8412 GB, free: 2.418 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/1.285, allocations: 135.9 kB / 0.8413 GB, free: 2.285 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007364/1.286, allocations: 366.2 kB / 0.8417 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002898/1.286, allocations: 148 kB / 0.8418 GB, free: 1.781 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008736/1.295, allocations: 4.179 MB / 0.8459 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.295, allocations: 0 / 0.8459 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009513/1.305, allocations: 1.5 MB / 0.8473 GB, free: 12.12 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.009191/1.314, allocations: 6.031 MB / 0.8532 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.325, allocations: 5.981 MB / 0.8591 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.886e-05/1.326, allocations: 8 kB / 0.8591 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002769/1.328, allocations: 1.445 MB / 0.8605 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00728/1.336, allocations: 0.9292 MB / 0.8614 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3722/1.708, allocations: 73.63 MB / 0.9333 GB, free: 182.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01013/1.718, allocations: 5.584 MB / 0.9388 GB, free: 177 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007278/1.725, allocations: 2.772 MB / 0.9415 GB, free: 174.2 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005551/1.731, allocations: 3.655 MB / 0.945 GB, free: 170.5 MB / 0.6232 GB Notification: Performance of SimCode: time 1.643e-06/1.731, allocations: 0 / 0.945 GB, free: 170.5 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/1.872, allocations: 101.9 MB / 1.045 GB, free: 68.61 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.1/52.98, allocations: 7.844 kB / 1.045 GB, free: 68.6 MB / 0.6232 GB " [Timeout remaining time 607] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 57.050056166015565]