Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007885/0.0007885, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008482/0.0008482, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8298/0.8298, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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.135/0.135, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 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.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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.145e-05, allocations: 6.281 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008469/0.008491, allocations: 11.04 MB / 417.9 MB, free: 7.145 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.01437, allocations: 3.209 MB / 421.1 MB, free: 3.926 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.016, allocations: 75.81 kB / 421.2 MB, free: 3.852 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002995/0.019, allocations: 2.702 MB / 423.9 MB, free: 1.141 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.02188, allocations: 1.458 MB / 425.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.02256, allocations: 379.1 kB / 425.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.02601, allocations: 2.928 MB / 428.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.02878, allocations: 2.46 MB / 431.1 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.03115, allocations: 1.777 MB / 432.8 MB, free: 8.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.03276, allocations: 1.598 MB / 434.4 MB, free: 6.477 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.03313, allocations: 296 kB / 434.7 MB, free: 6.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.03422, allocations: 0.7372 MB / 435.5 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.03557, allocations: 1.652 MB / 437.1 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009186/0.03649, allocations: 1.036 MB / 438.2 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.04163, allocations: 5.989 MB / 444.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.04163, allocations: 0 / 444.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.04163, allocations: 0 / 444.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001422/0.04177, allocations: 0 / 444.1 MB, free: 12.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.004982/0.04676, allocations: 3.728 MB / 447.9 MB, free: 8.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.0468, allocations: 11.97 kB / 447.9 MB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006676/0.04747, allocations: 0.6369 MB / 448.5 MB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.05099, allocations: 1.765 MB / 450.3 MB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.0539, allocations: 1.602 MB / 451.9 MB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.05403, allocations: 201.6 kB / 452.1 MB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004838/0.05452, allocations: 268 kB / 452.4 MB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.06474, allocations: 8.382 MB / 460.7 MB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.06478, allocations: 11.88 kB / 460.7 MB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.06504, allocations: 123.9 kB / 460.9 MB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/0.06681, allocations: 1.756 MB / 462.6 MB, free: 9.828 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008302/0.07511, allocations: 7.007 MB / 469.6 MB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1987/0.2738, allocations: 24.42 MB / 494 MB, free: 79.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.2765, allocations: 2.086 MB / 496.1 MB, free: 79.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.2772, allocations: 0.8836 MB / 497 MB, free: 78.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003764/0.281, allocations: 3.886 MB / 0.4892 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.281, allocations: 45.94 kB / 0.4892 GB, free: 77.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 3.006e-06/0.281, allocations: 0 / 0.4892 GB, free: 77.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.003744/0.2847, allocations: 2.891 MB / 0.492 GB, free: 76.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.2848, allocations: 62.06 kB / 0.4921 GB, free: 76.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.2868, allocations: 2.396 MB / 0.4944 GB, free: 75.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.2869, allocations: 44.36 kB / 0.4945 GB, free: 75.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.2876, allocations: 2.391 MB / 0.4968 GB, free: 74.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.2878, allocations: 478.6 kB / 0.4973 GB, free: 73.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006712/0.2885, allocations: 0.7372 MB / 0.498 GB, free: 73.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.636e-05/0.2885, allocations: 304.5 kB / 0.4983 GB, free: 73.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.2897, allocations: 1.119 MB / 0.4994 GB, free: 72.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.2915, allocations: 3.288 MB / 0.5026 GB, free: 69.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.2945, allocations: 4.822 MB / 0.5073 GB, free: 65.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.147e-05/0.2946, allocations: 21.28 kB / 0.5073 GB, free: 65.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.003906/0.2985, allocations: 4.329 MB / 0.5115 GB, free: 63.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.2985, allocations: 45.88 kB / 0.5116 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.504e-05/0.2986, allocations: 75.62 kB / 0.5116 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.736e-05/0.2986, allocations: 101.4 kB / 0.5117 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.3, allocations: 0.816 MB / 0.5125 GB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-05/0.3001, allocations: 148.5 kB / 0.5127 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.3013, allocations: 0.5035 MB / 0.5132 GB, free: 63.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.3014, allocations: 228.9 kB / 0.5134 GB, free: 63.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.001592/0.303, allocations: 1.708 MB / 0.5151 GB, free: 62.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3031, allocations: 204.8 kB / 0.5153 GB, free: 62.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.3046, allocations: 1.523 MB / 0.5167 GB, free: 61.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3046, allocations: 17.28 kB / 0.5168 GB, free: 61.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3046, allocations: 0.6094 kB / 0.5168 GB, free: 61.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3046, allocations: 4.781 kB / 0.5168 GB, free: 61.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/0.3113, allocations: 7.218 MB / 0.5238 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3113, allocations: 13.53 kB / 0.5238 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.3117, allocations: 193.3 kB / 0.524 GB, free: 57.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.3117, allocations: 24 kB / 0.524 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.3117, allocations: 38.72 kB / 0.5241 GB, free: 57.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.501e-05/0.3117, allocations: 35.39 kB / 0.5241 GB, free: 57.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.3118, allocations: 23.88 kB / 0.5241 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.313, allocations: 1.982 MB / 0.5261 GB, free: 55.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.3132, allocations: 262.5 kB / 0.5263 GB, free: 55.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.3133, allocations: 36 kB / 0.5263 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.3137, allocations: 48.58 kB / 0.5264 GB, free: 55.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.3138, allocations: 125.9 kB / 0.5265 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.3139, allocations: 51 kB / 0.5266 GB, free: 55.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.315, allocations: 1.576 MB / 0.5281 GB, free: 53.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.315, allocations: 0 / 0.5281 GB, free: 53.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001818/0.3168, allocations: 0.9381 MB / 0.529 GB, free: 52.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.001477/0.3183, allocations: 2.614 MB / 0.5316 GB, free: 50.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.3203, allocations: 2.544 MB / 0.5341 GB, free: 48.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3203, allocations: 4 kB / 0.5341 GB, free: 48.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.3208, allocations: 0.6643 MB / 0.5347 GB, free: 47.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/0.3217, allocations: 310.3 kB / 0.535 GB, free: 47.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.3397, allocations: 27.17 MB / 0.5615 GB, free: 16.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.3411, allocations: 2.282 MB / 0.5638 GB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001329/0.3425, allocations: 1.174 MB / 0.5649 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008403/0.3433, allocations: 1.434 MB / 0.5663 GB, free: 11.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3433, allocations: 4 kB / 0.5663 GB, free: 11.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0456/0.3889, allocations: 41.37 MB / 0.6067 GB, free: 2.629 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.946, allocations: 8.047 kB / 0.6067 GB, free: 2.621 MB / 474.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.066959906369448]