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.001936/0.001936, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002154/0.002154, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2363/0.2363, allocations: 46.97 MB / 361.7 MB, free: 4.059 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.002028/0.002028, allocations: 67.88 kB / 0.4969 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.308, allocations: 66.02 MB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01115/0.3192, allocations: 8.351 MB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006065/0.3252, allocations: 2.773 MB / 0.5722 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.3269, allocations: 55.81 kB / 0.5723 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.3312, allocations: 1.939 MB / 0.5742 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.3341, allocations: 1.137 MB / 0.5753 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.335, allocations: 287.4 kB / 0.5755 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.3385, allocations: 2.329 MB / 0.5778 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.3413, allocations: 1.742 MB / 0.5795 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.3429, allocations: 0.8956 MB / 0.5804 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.3449, allocations: 1.254 MB / 0.5816 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.3455, allocations: 192 kB / 0.5818 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.3469, allocations: 0.6163 MB / 0.5824 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.3483, allocations: 1.137 MB / 0.5835 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.3498, allocations: 0.9432 MB / 0.5844 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.3547, allocations: 4.338 MB / 0.5887 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.3547, allocations: 0 / 0.5887 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3547, allocations: 0 / 0.5887 GB, free: 8.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.3548, allocations: 4 kB / 0.5887 GB, free: 8.141 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.006075/0.3609, allocations: 2.866 MB / 0.5915 GB, free: 5.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.361, allocations: 8.031 kB / 0.5915 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.678e-05/0.361, allocations: 71.94 kB / 0.5915 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006248/0.3617, allocations: 479.1 kB / 0.592 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/0.3667, allocations: 1.582 MB / 0.5935 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.3693, allocations: 1.286 MB / 0.5948 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.3694, allocations: 147.6 kB / 0.5949 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/0.3698, allocations: 187.9 kB / 0.5951 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.3801, allocations: 6.242 MB / 0.6012 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.3801, allocations: 15.88 kB / 0.6012 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.3804, allocations: 87.89 kB / 0.6013 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002184/0.3825, allocations: 1.344 MB / 0.6026 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.3927, allocations: 5.334 MB / 0.6078 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/0.4191, allocations: 19.01 MB / 0.6264 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.4233, allocations: 1.561 MB / 0.6279 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009594/0.4243, allocations: 0.6353 MB / 0.6286 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00588/0.4301, allocations: 2.895 MB / 0.6314 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4302, allocations: 46.94 kB / 0.6314 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.006e-06/0.4302, allocations: 0 / 0.6314 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00548/0.4357, allocations: 1.971 MB / 0.6333 GB, free: 9.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.4357, allocations: 59.84 kB / 0.6334 GB, free: 9.293 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.4384, allocations: 1.946 MB / 0.6353 GB, free: 7.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.4385, allocations: 33.7 kB / 0.6353 GB, free: 7.305 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.44, allocations: 1.915 MB / 0.6372 GB, free: 5.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.4404, allocations: 329.5 kB / 0.6375 GB, free: 5.043 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008499/0.4412, allocations: 0.6234 MB / 0.6381 GB, free: 4.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4414, allocations: 361.9 kB / 0.6385 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4427, allocations: 0.888 MB / 0.6393 GB, free: 3.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/0.4456, allocations: 2.747 MB / 0.642 GB, free: 15.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004648/0.4502, allocations: 3.969 MB / 0.6459 GB, free: 10.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/0.4503, allocations: 16 kB / 0.6459 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005866/0.4561, allocations: 3.539 MB / 0.6494 GB, free: 7.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.4562, allocations: 32 kB / 0.6494 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.572e-05/0.4562, allocations: 64 kB / 0.6495 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.199e-05/0.4563, allocations: 88 kB / 0.6495 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.4583, allocations: 0.6556 MB / 0.6502 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001122/0.4584, allocations: 127.5 kB / 0.6503 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.4602, allocations: 436.8 kB / 0.6507 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.4604, allocations: 188 kB / 0.6509 GB, free: 5.453 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.00189/0.4623, allocations: 1.346 MB / 0.6522 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.4626, allocations: 162.9 kB / 0.6524 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.4629, allocations: 196.8 kB / 0.6526 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.4629, allocations: 12 kB / 0.6526 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4629, allocations: 0 / 0.6526 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.4629, allocations: 7.922 kB / 0.6526 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/0.4693, allocations: 3.951 MB / 0.6564 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.4693, allocations: 8 kB / 0.6564 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.4697, allocations: 96.56 kB / 0.6565 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.4697, allocations: 11.94 kB / 0.6566 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.4698, allocations: 24 kB / 0.6566 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.4698, allocations: 15.92 kB / 0.6566 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.4698, allocations: 11.94 kB / 0.6566 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4713, allocations: 1.235 MB / 0.6578 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.4716, allocations: 182.6 kB / 0.658 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.4718, allocations: 19.88 kB / 0.658 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.4722, allocations: 27.97 kB / 0.658 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.4723, allocations: 59.81 kB / 0.6581 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.4724, allocations: 28 kB / 0.6581 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001803/0.4742, allocations: 1.267 MB / 0.6593 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4742, allocations: 3.938 kB / 0.6594 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002473/0.4767, allocations: 0.6968 MB / 0.66 GB, free: 11.87 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.002059/0.4787, allocations: 1.845 MB / 0.6618 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003109/0.4818, allocations: 1.963 MB / 0.6638 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4819, allocations: 0 / 0.6638 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.4825, allocations: 426.4 kB / 0.6642 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.4837, allocations: 244.5 kB / 0.6644 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02965/0.5133, allocations: 20.87 MB / 0.6848 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/0.5157, allocations: 1.708 MB / 0.6864 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002234/0.518, allocations: 0.9519 MB / 0.6874 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/0.5194, allocations: 1.034 MB / 0.6884 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.5194, allocations: 0 / 0.6884 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07167/0.5911, allocations: 34.01 MB / 0.7216 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.6, allocations: 8.062 kB / 0.7216 GB, free: 10.6 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.395368995028548]