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.001551/0.001551, allocations: 122 kB / 17.83 MB, free: 5.242 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.001471/0.001471, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.483/1.483, allocations: 207.6 MB / 231.2 MB, free: 4.121 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.3304/0.3304, allocations: 44.23 MB / 327.3 MB, free: 6.738 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 64.52 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2785, allocations: 61 MB / 0.5116 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01071/0.2892, allocations: 12.67 MB / 0.524 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0073/0.2965, allocations: 3.38 MB / 0.5273 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.2987, allocations: 71.81 kB / 0.5274 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005587/0.3043, allocations: 2.675 MB / 0.53 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.3085, allocations: 1.397 MB / 0.5314 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3096, allocations: 351.3 kB / 0.5317 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00475/0.3143, allocations: 2.87 MB / 0.5345 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004033/0.3184, allocations: 2.645 MB / 0.5371 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.3207, allocations: 1.215 MB / 0.5383 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.3237, allocations: 1.76 MB / 0.54 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009135/0.3246, allocations: 296 kB / 0.5403 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.3264, allocations: 0.7958 MB / 0.541 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.3284, allocations: 1.597 MB / 0.5426 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.3312, allocations: 1.837 MB / 0.5444 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00815/0.3393, allocations: 6.022 MB / 0.5503 GB, free: 7.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.3393, allocations: 4 kB / 0.5503 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3393, allocations: 0 / 0.5503 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002072/0.3395, allocations: 0 / 0.5503 GB, free: 7.23 MB / 414.1 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.008643/0.3482, allocations: 3.843 MB / 0.554 GB, free: 3.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3482, allocations: 11.89 kB / 0.554 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001211/0.3483, allocations: 89.5 kB / 0.5541 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/0.3494, allocations: 0.6447 MB / 0.5548 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006209/0.3557, allocations: 1.734 MB / 0.5564 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.359, allocations: 1.66 MB / 0.5581 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.3593, allocations: 213.1 kB / 0.5583 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006334/0.3599, allocations: 263.9 kB / 0.5585 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.3742, allocations: 8.362 MB / 0.5667 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.3743, allocations: 11.88 kB / 0.5667 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/0.3747, allocations: 131.9 kB / 0.5668 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002962/0.3776, allocations: 1.756 MB / 0.5685 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.3921, allocations: 7.038 MB / 0.5754 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04172/0.4338, allocations: 25.77 MB / 0.6006 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005984/0.4398, allocations: 2.454 MB / 0.603 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.4415, allocations: 0.8835 MB / 0.6038 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009052/0.4506, allocations: 4.46 MB / 0.6082 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.4506, allocations: 43.56 kB / 0.6082 GB, free: 10.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=120): time 5.12e-06/0.4506, allocations: 0 / 0.6082 GB, free: 10.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=120): time 0.008374/0.459, allocations: 2.736 MB / 0.6109 GB, free: 7.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4591, allocations: 64.41 kB / 0.611 GB, free: 7.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.4633, allocations: 2.266 MB / 0.6132 GB, free: 5.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.4635, allocations: 45.64 kB / 0.6132 GB, free: 5.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002274/0.4658, allocations: 2.414 MB / 0.6156 GB, free: 2.828 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006474/0.4664, allocations: 480.3 kB / 0.616 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.4676, allocations: 0.7583 MB / 0.6168 GB, free: 1.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4677, allocations: 301.1 kB / 0.6171 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.4697, allocations: 1.12 MB / 0.6182 GB, free: 176 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/0.4736, allocations: 3.287 MB / 0.6214 GB, free: 11.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006302/0.4799, allocations: 4.811 MB / 0.6261 GB, free: 5.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.635e-05/0.48, allocations: 27.94 kB / 0.6261 GB, free: 5.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008719/0.4887, allocations: 4.337 MB / 0.6303 GB, free: 1.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.407e-05/0.4888, allocations: 40.56 kB / 0.6304 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/0.4889, allocations: 80 kB / 0.6304 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.489, allocations: 100 kB / 0.6305 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.4918, allocations: 0.8149 MB / 0.6313 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001536/0.4919, allocations: 151.4 kB / 0.6315 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.4944, allocations: 0.5041 MB / 0.632 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/0.4949, allocations: 219.9 kB / 0.6322 GB, free: 15.67 MB / 0.4981 GB 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.00305/0.4979, allocations: 1.71 MB / 0.6339 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.4983, allocations: 206.6 kB / 0.6341 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.5012, allocations: 1.514 MB / 0.6355 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.5012, allocations: 12 kB / 0.6355 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5012, allocations: 0 / 0.6355 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.5013, allocations: 15.84 kB / 0.6356 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5149, allocations: 7.383 MB / 0.6428 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.5149, allocations: 19.98 kB / 0.6428 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/0.5158, allocations: 187.6 kB / 0.643 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-05/0.5158, allocations: 20 kB / 0.643 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.5159, allocations: 43.86 kB / 0.643 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-05/0.5159, allocations: 27.92 kB / 0.6431 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/0.5159, allocations: 23.88 kB / 0.6431 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.519, allocations: 2.002 MB / 0.645 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.5197, allocations: 339.2 kB / 0.6454 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/0.52, allocations: 39.92 kB / 0.6454 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.5209, allocations: 51.92 kB / 0.6454 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.5211, allocations: 111.5 kB / 0.6455 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.5212, allocations: 59.97 kB / 0.6456 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2564/0.7776, allocations: 1.569 MB / 0.6471 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7776, allocations: 0.7188 kB / 0.6471 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004144/0.7817, allocations: 0.9379 MB / 0.6481 GB, free: 119.9 MB / 0.4981 GB 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.003923/0.7856, allocations: 2.63 MB / 0.6506 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005537/0.7912, allocations: 2.546 MB / 0.6531 GB, free: 118 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.119e-05/0.7912, allocations: 6.094 kB / 0.6531 GB, free: 118 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.7924, allocations: 0.6667 MB / 0.6538 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.7943, allocations: 318.8 kB / 0.6541 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/0.8291, allocations: 27.3 MB / 0.6807 GB, free: 97.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/0.8317, allocations: 2.826 MB / 0.6835 GB, free: 94.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002229/0.834, allocations: 1.174 MB / 0.6846 GB, free: 93.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.8354, allocations: 1.433 MB / 0.686 GB, free: 92.05 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.8354, allocations: 4 kB / 0.686 GB, free: 92.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05985/0.8953, allocations: 41.27 MB / 0.7263 GB, free: 50.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.28, allocations: 11.98 kB / 0.7264 GB, free: 50.72 MB / 0.4981 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/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: 18.854402569006197]