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.001512/0.001512, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.001823/0.001823, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.489/1.489, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.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.2296/0.2296, allocations: 44.25 MB / 330.3 MB, free: 9.594 MB / 270.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="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: 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.002235/0.002235, allocations: 67.91 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1082, allocations: 61.05 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01484/0.123, allocations: 12.69 MB / 0.5285 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00733/0.1303, allocations: 3.396 MB / 0.5319 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.1321, allocations: 71.81 kB / 0.5319 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005523/0.1377, allocations: 2.695 MB / 0.5346 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.1414, allocations: 1.389 MB / 0.5359 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1426, allocations: 363.3 kB / 0.5363 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2165/0.3591, allocations: 2.869 MB / 0.5391 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.3628, allocations: 2.45 MB / 0.5415 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.3651, allocations: 1.221 MB / 0.5426 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.3684, allocations: 1.757 MB / 0.5444 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.3696, allocations: 296 kB / 0.5446 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.3715, allocations: 0.8029 MB / 0.5454 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.3736, allocations: 1.593 MB / 0.547 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002996/0.3766, allocations: 1.837 MB / 0.5488 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.3867, allocations: 6.019 MB / 0.5547 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.3868, allocations: 0.625 kB / 0.5547 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3868, allocations: 1.125 kB / 0.5547 GB, free: 7.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003517/0.3871, allocations: 3.375 kB / 0.5547 GB, free: 7.352 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.01177/0.3989, allocations: 3.767 MB / 0.5583 GB, free: 5.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3989, allocations: 9.938 kB / 0.5583 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001691/0.4006, allocations: 0.6365 MB / 0.559 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006137/0.4068, allocations: 1.74 MB / 0.5607 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/0.411, allocations: 1.594 MB / 0.5622 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.4112, allocations: 203.8 kB / 0.5624 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008902/0.412, allocations: 265 kB / 0.5627 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/0.4274, allocations: 8.374 MB / 0.5708 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.452e-05/0.4274, allocations: 15.72 kB / 0.5709 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005338/0.428, allocations: 118.2 kB / 0.571 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002954/0.4309, allocations: 1.768 MB / 0.5727 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.4465, allocations: 7.039 MB / 0.5796 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/0.4895, allocations: 25.67 MB / 0.6046 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/0.4951, allocations: 2.003 MB / 0.6066 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.4967, allocations: 0.8885 MB / 0.6075 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009235/0.5059, allocations: 3.993 MB / 0.6114 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.506, allocations: 46.84 kB / 0.6114 GB, free: 13.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 3.747e-06/0.506, allocations: 0 / 0.6114 GB, free: 13.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.007863/0.5139, allocations: 2.736 MB / 0.6141 GB, free: 10.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.5139, allocations: 60.41 kB / 0.6141 GB, free: 10.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/0.5179, allocations: 2.258 MB / 0.6163 GB, free: 8.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.5181, allocations: 47.48 kB / 0.6164 GB, free: 8.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002057/0.5201, allocations: 2.41 MB / 0.6187 GB, free: 5.773 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/0.5208, allocations: 486.7 kB / 0.6192 GB, free: 5.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.5221, allocations: 0.7569 MB / 0.62 GB, free: 4.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5222, allocations: 306.5 kB / 0.6202 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.5243, allocations: 1.124 MB / 0.6213 GB, free: 3.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/0.5284, allocations: 3.288 MB / 0.6246 GB, free: 14.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006703/0.5351, allocations: 4.809 MB / 0.6292 GB, free: 9.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.164e-05/0.5352, allocations: 20 kB / 0.6293 GB, free: 9.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008404/0.5436, allocations: 4.336 MB / 0.6335 GB, free: 5.191 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.5437, allocations: 40 kB / 0.6335 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-05/0.5438, allocations: 79.94 kB / 0.6336 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.5439, allocations: 100 kB / 0.6337 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.5467, allocations: 0.811 MB / 0.6345 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001468/0.5468, allocations: 156 kB / 0.6347 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.5495, allocations: 0.5023 MB / 0.6351 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/0.5499, allocations: 224 kB / 0.6354 GB, free: 3.289 MB / 478.1 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.003297/0.5532, allocations: 1.708 MB / 0.637 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.5536, allocations: 206.6 kB / 0.6372 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.5564, allocations: 1.51 MB / 0.6387 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.5564, allocations: 16 kB / 0.6387 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5564, allocations: 0 / 0.6387 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5564, allocations: 3.984 kB / 0.6387 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.5709, allocations: 7.371 MB / 0.6459 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.5709, allocations: 12 kB / 0.6459 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00075/0.5716, allocations: 187.7 kB / 0.6461 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.101e-05/0.5717, allocations: 20 kB / 0.6461 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.5717, allocations: 43.92 kB / 0.6462 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/0.5718, allocations: 23.94 kB / 0.6462 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.266e-05/0.5718, allocations: 30 kB / 0.6462 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.5747, allocations: 1.998 MB / 0.6482 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/0.5753, allocations: 266.1 kB / 0.6484 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.5755, allocations: 39.98 kB / 0.6485 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.5763, allocations: 55.83 kB / 0.6485 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.5765, allocations: 115.4 kB / 0.6486 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/0.5766, allocations: 55.98 kB / 0.6487 GB, free: 5.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002419/0.579, allocations: 1.574 MB / 0.6502 GB, free: 3.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.579, allocations: 0 / 0.6502 GB, free: 3.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003452/0.5824, allocations: 0.9343 MB / 0.6511 GB, free: 2.656 MB / 494.1 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.003523/0.586, allocations: 2.644 MB / 0.6537 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004661/0.5906, allocations: 2.545 MB / 0.6562 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.5906, allocations: 4.25 kB / 0.6562 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5917, allocations: 0.6705 MB / 0.6569 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.5936, allocations: 322.4 kB / 0.6572 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04724/0.6408, allocations: 27.29 MB / 0.6838 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004725/0.6455, allocations: 2.824 MB / 0.6866 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003156/0.6487, allocations: 1.171 MB / 0.6877 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002727/0.6514, allocations: 1.433 MB / 0.6891 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of SimCode: time 1.352e-06/0.6514, allocations: 0 / 0.6891 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09725/0.7487, allocations: 44.22 MB / 0.7323 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/18.76, allocations: 7.922 kB / 0.7323 GB, free: 12.09 MB / 0.5762 GB " [Timeout remaining time 641] (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: 21.98963919491507]