Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001504/0.001504, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.93 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 79.88 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01237/0.3381, allocations: 8.913 MB / 0.5657 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006525/0.3446, allocations: 2.924 MB / 0.5685 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.3458, allocations: 59.81 kB / 0.5686 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.3506, allocations: 2.535 MB / 0.5711 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.3534, allocations: 1.214 MB / 0.5722 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.3544, allocations: 351.3 kB / 0.5726 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.3582, allocations: 2.543 MB / 0.5751 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.3611, allocations: 2.238 MB / 0.5772 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.3626, allocations: 1.067 MB / 0.5783 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.3647, allocations: 1.382 MB / 0.5796 GB, free: 188 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004924/0.3652, allocations: 252 kB / 0.5799 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.3665, allocations: 0.6709 MB / 0.5805 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.3679, allocations: 1.363 MB / 0.5819 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.3695, allocations: 1.141 MB / 0.583 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.3754, allocations: 5.136 MB / 0.588 GB, free: 7.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3754, allocations: 4 kB / 0.588 GB, free: 7.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3754, allocations: 0 / 0.588 GB, free: 7.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.3755, allocations: 0 / 0.588 GB, free: 7.59 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.006028/0.3816, allocations: 3.274 MB / 0.5912 GB, free: 4.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3816, allocations: 15.95 kB / 0.5912 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007996/0.3824, allocations: 0.5459 MB / 0.5917 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/0.3877, allocations: 1.625 MB / 0.5933 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.3915, allocations: 1.451 MB / 0.5947 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.3917, allocations: 180.7 kB / 0.5949 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006017/0.3923, allocations: 231.9 kB / 0.5951 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.4049, allocations: 7.11 MB / 0.6021 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.405, allocations: 15.88 kB / 0.6021 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.4053, allocations: 107.9 kB / 0.6022 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/0.4078, allocations: 1.447 MB / 0.6036 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.4205, allocations: 5.937 MB / 0.6094 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.4543, allocations: 21.15 MB / 0.6301 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.4588, allocations: 1.67 MB / 0.6317 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.4598, allocations: 0.7034 MB / 0.6324 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006741/0.4666, allocations: 3.241 MB / 0.6355 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.4666, allocations: 43.2 kB / 0.6356 GB, free: 5.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.526e-06/0.4666, allocations: 0 / 0.6356 GB, free: 5.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006226/0.4728, allocations: 2.253 MB / 0.6378 GB, free: 3.516 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.4729, allocations: 64.06 kB / 0.6378 GB, free: 3.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.4761, allocations: 2.172 MB / 0.64 GB, free: 1.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.649e-05/0.4761, allocations: 37.7 kB / 0.64 GB, free: 1.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001911/0.478, allocations: 2.11 MB / 0.6421 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.4784, allocations: 361.3 kB / 0.6424 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008962/0.4793, allocations: 0.6551 MB / 0.6431 GB, free: 14.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4795, allocations: 369.8 kB / 0.6434 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.4809, allocations: 0.9352 MB / 0.6443 GB, free: 12.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/0.484, allocations: 2.868 MB / 0.6471 GB, free: 8.934 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005003/0.489, allocations: 4.158 MB / 0.6512 GB, free: 3.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.036e-05/0.4891, allocations: 24 kB / 0.6512 GB, free: 3.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005817/0.4949, allocations: 3.699 MB / 0.6548 GB, free: 92 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.4949, allocations: 39.94 kB / 0.6549 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.495, allocations: 68.05 kB / 0.6549 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.4951, allocations: 92 kB / 0.655 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.4971, allocations: 0.6862 MB / 0.6557 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00012/0.4972, allocations: 131.5 kB / 0.6558 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.4991, allocations: 444.7 kB / 0.6562 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002865/0.4994, allocations: 200 kB / 0.6564 GB, free: 14.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.002474/0.5019, allocations: 1.511 MB / 0.6579 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.5021, allocations: 178.8 kB / 0.6581 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.5025, allocations: 210.2 kB / 0.6583 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.5025, allocations: 8 kB / 0.6583 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.5026, allocations: 4 kB / 0.6583 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5026, allocations: 3.984 kB / 0.6583 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/0.5113, allocations: 4.814 MB / 0.663 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.5113, allocations: 8 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.5117, allocations: 115.8 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.5118, allocations: 8.812 kB / 0.6631 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.5118, allocations: 27.98 kB / 0.6631 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.62e-05/0.5118, allocations: 19.94 kB / 0.6632 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.5118, allocations: 11.94 kB / 0.6632 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.5137, allocations: 1.419 MB / 0.6645 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.5143, allocations: 230.3 kB / 0.6648 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.5145, allocations: 23.98 kB / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.5151, allocations: 35.94 kB / 0.6648 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5152, allocations: 79.66 kB / 0.6649 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.5153, allocations: 32 kB / 0.6649 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002443/0.5177, allocations: 1.448 MB / 0.6663 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5177, allocations: 0 / 0.6663 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003247/0.521, allocations: 0.7746 MB / 0.6671 GB, free: 3.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002442/0.5234, allocations: 2.025 MB / 0.6691 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003823/0.5272, allocations: 2.079 MB / 0.6711 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.5272, allocations: 3.938 kB / 0.6711 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.5279, allocations: 480 kB / 0.6716 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.5294, allocations: 275.2 kB / 0.6718 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03583/0.5652, allocations: 23.2 MB / 0.6945 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00299/0.5682, allocations: 1.954 MB / 0.6964 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002639/0.5709, allocations: 1.024 MB / 0.6974 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/0.5728, allocations: 1.202 MB / 0.6986 GB, free: 128 kB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/0.5728, allocations: 3.938 kB / 0.6986 GB, free: 124 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3443/0.9171, allocations: 37.21 MB / 0.7349 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.57, allocations: 3.688 kB / 0.7349 GB, free: 165.8 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 16.725881475023925]