Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001325/0.001325, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001518/0.001518, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2219/0.2219, allocations: 46.93 MB / 361.7 MB, free: 4.246 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.91 kB / 0.4969 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2972, allocations: 66.03 MB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01217/0.3094, allocations: 9.585 MB / 0.5708 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006265/0.3156, allocations: 2.963 MB / 0.5737 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.3168, allocations: 59.81 kB / 0.5737 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.3208, allocations: 2.029 MB / 0.5757 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.3236, allocations: 1.133 MB / 0.5768 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.3243, allocations: 287.5 kB / 0.5771 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.3276, allocations: 2.329 MB / 0.5794 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.3299, allocations: 1.742 MB / 0.5811 GB, free: 224 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.3312, allocations: 0.8878 MB / 0.5819 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.3332, allocations: 1.25 MB / 0.5831 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005118/0.3337, allocations: 196 kB / 0.5833 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.3352, allocations: 0.7255 MB / 0.584 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.3365, allocations: 1.145 MB / 0.5852 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.338, allocations: 1.305 MB / 0.5864 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005333/0.3433, allocations: 4.33 MB / 0.5907 GB, free: 6.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3433, allocations: 4 kB / 0.5907 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3433, allocations: 0 / 0.5907 GB, free: 6.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001165/0.3434, allocations: 0 / 0.5907 GB, free: 6.344 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.00553/0.349, allocations: 2.87 MB / 0.5935 GB, free: 3.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.349, allocations: 8.031 kB / 0.5935 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.425e-05/0.3491, allocations: 71.94 kB / 0.5935 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006772/0.3498, allocations: 479.1 kB / 0.594 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005486/0.3552, allocations: 1.582 MB / 0.5955 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.3581, allocations: 1.275 MB / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.3583, allocations: 147.6 kB / 0.5969 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/0.3588, allocations: 195.8 kB / 0.5971 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.3694, allocations: 6.242 MB / 0.6032 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/0.3694, allocations: 15.88 kB / 0.6032 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.3697, allocations: 87.91 kB / 0.6033 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002214/0.3719, allocations: 1.34 MB / 0.6046 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.3828, allocations: 5.333 MB / 0.6098 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03155/0.4144, allocations: 19.96 MB / 0.6293 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004441/0.4188, allocations: 1.566 MB / 0.6309 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.4199, allocations: 0.6329 MB / 0.6315 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006666/0.4266, allocations: 3.027 MB / 0.6344 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.4266, allocations: 39 kB / 0.6345 GB, free: 8.477 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/0.4266, allocations: 0 / 0.6345 GB, free: 8.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005763/0.4324, allocations: 1.978 MB / 0.6364 GB, free: 6.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.4324, allocations: 59.84 kB / 0.6365 GB, free: 6.418 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.4352, allocations: 1.946 MB / 0.6384 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.4353, allocations: 41.69 kB / 0.6384 GB, free: 4.422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.4368, allocations: 1.907 MB / 0.6403 GB, free: 2.492 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.4372, allocations: 333.5 kB / 0.6406 GB, free: 2.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008484/0.438, allocations: 0.6195 MB / 0.6412 GB, free: 1.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.4382, allocations: 357.9 kB / 0.6415 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4396, allocations: 0.8842 MB / 0.6424 GB, free: 300 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/0.4426, allocations: 2.755 MB / 0.6451 GB, free: 12.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004689/0.4472, allocations: 3.961 MB / 0.6489 GB, free: 7.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.26e-05/0.4473, allocations: 20 kB / 0.649 GB, free: 7.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006172/0.4535, allocations: 3.539 MB / 0.6524 GB, free: 4.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.4535, allocations: 36 kB / 0.6524 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.56e-05/0.4536, allocations: 64 kB / 0.6525 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.871e-05/0.4537, allocations: 88 kB / 0.6526 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.4559, allocations: 0.655 MB / 0.6532 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001309/0.456, allocations: 131.5 kB / 0.6534 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.4582, allocations: 437.1 kB / 0.6538 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/0.4586, allocations: 184 kB / 0.654 GB, free: 2.578 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.002243/0.4608, allocations: 1.342 MB / 0.6553 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.4612, allocations: 166.9 kB / 0.6554 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.4616, allocations: 196.9 kB / 0.6556 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.4616, allocations: 11.98 kB / 0.6556 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4616, allocations: 4 kB / 0.6556 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4616, allocations: 7.922 kB / 0.6556 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00742/0.469, allocations: 4.029 MB / 0.6596 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.4691, allocations: 8.75 kB / 0.6596 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.4695, allocations: 99.81 kB / 0.6597 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.4695, allocations: 15.94 kB / 0.6597 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.4696, allocations: 20 kB / 0.6597 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-05/0.4696, allocations: 15.92 kB / 0.6597 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/0.4696, allocations: 12 kB / 0.6597 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.4714, allocations: 1.239 MB / 0.6609 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.4719, allocations: 182.6 kB / 0.6611 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.4721, allocations: 19.84 kB / 0.6611 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.4726, allocations: 31.97 kB / 0.6612 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4727, allocations: 47.81 kB / 0.6612 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/0.4727, allocations: 28 kB / 0.6612 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002016/0.4748, allocations: 1.275 MB / 0.6625 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4748, allocations: 0 / 0.6625 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003023/0.4778, allocations: 0.689 MB / 0.6632 GB, free: 8.914 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.002415/0.4802, allocations: 1.853 MB / 0.665 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003734/0.4839, allocations: 1.963 MB / 0.6669 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.4839, allocations: 0 / 0.6669 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.4846, allocations: 425.5 kB / 0.6673 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.486, allocations: 246.5 kB / 0.6675 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03189/0.5179, allocations: 20.88 MB / 0.6879 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.5209, allocations: 2.275 MB / 0.6901 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002235/0.5231, allocations: 0.9441 MB / 0.6911 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/0.5247, allocations: 1.034 MB / 0.6921 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/0.5247, allocations: 0 / 0.6921 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07542/0.6001, allocations: 35.27 MB / 0.7265 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.65, allocations: 4.062 kB / 0.7265 GB, free: 5.602 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.284473998006433]