Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 113.1 kB / 17.08 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 197.3 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2315/0.2315, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 67.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1053, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01217/0.1175, allocations: 10.54 MB / 0.4988 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006802/0.1243, allocations: 3.007 MB / 0.5018 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.126, allocations: 55.88 kB / 0.5018 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.1299, allocations: 2.001 MB / 0.5038 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.133, allocations: 1.187 MB / 0.5049 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000843/0.1339, allocations: 287.5 kB / 0.5052 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.1373, allocations: 2.458 MB / 0.5076 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/0.1407, allocations: 2.375 MB / 0.5099 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.1424, allocations: 0.9462 MB / 0.5108 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.1444, allocations: 1.269 MB / 0.5121 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007007/0.1451, allocations: 212 kB / 0.5123 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.1469, allocations: 0.7021 MB / 0.513 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.1485, allocations: 1.212 MB / 0.5141 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003245/0.1518, allocations: 1.437 MB / 0.5156 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.1591, allocations: 4.702 MB / 0.5201 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1591, allocations: 0 / 0.5201 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1592, allocations: 4 kB / 0.5201 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001781/0.1593, allocations: 0 / 0.5201 GB, free: 11.27 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007622/0.167, allocations: 3.076 MB / 0.5232 GB, free: 8.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.167, allocations: 15.89 kB / 0.5232 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/0.173, allocations: 1.607 MB / 0.5247 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.1768, allocations: 1.398 MB / 0.5261 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.177, allocations: 152.3 kB / 0.5262 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000804/0.1778, allocations: 211.8 kB / 0.5265 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2612/0.439, allocations: 6.775 MB / 0.5331 GB, free: 37.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.19e-05/0.4391, allocations: 14.69 kB / 0.5331 GB, free: 37.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007077/0.4399, allocations: 94.5 kB / 0.5332 GB, free: 37.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002683/0.4425, allocations: 1.482 MB / 0.5346 GB, free: 37.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.4541, allocations: 5.81 MB / 0.5403 GB, free: 35.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/0.4809, allocations: 21.44 MB / 0.5612 GB, free: 21.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.485, allocations: 2.255 MB / 0.5634 GB, free: 20.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008933/0.4859, allocations: 0.784 MB / 0.5642 GB, free: 19.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006031/0.492, allocations: 3.74 MB / 0.5678 GB, free: 17.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.492, allocations: 47.03 kB / 0.5679 GB, free: 17.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 3.446e-06/0.492, allocations: 0 / 0.5679 GB, free: 17.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005118/0.4971, allocations: 2.186 MB / 0.57 GB, free: 16.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.4972, allocations: 63.97 kB / 0.5701 GB, free: 16.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.4993, allocations: 2.028 MB / 0.5721 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.4994, allocations: 33.7 kB / 0.5721 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007425/0.5001, allocations: 1.956 MB / 0.574 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.5003, allocations: 364.3 kB / 0.5744 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006201/0.501, allocations: 0.6609 MB / 0.575 GB, free: 11.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.5011, allocations: 357.9 kB / 0.5753 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.5021, allocations: 0.9705 MB / 0.5763 GB, free: 9.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.5039, allocations: 2.926 MB / 0.5791 GB, free: 6.047 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.5073, allocations: 4.242 MB / 0.5833 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-05/0.5074, allocations: 20.75 kB / 0.5833 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006251/0.5136, allocations: 3.785 MB / 0.587 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.5137, allocations: 40.22 kB / 0.587 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-05/0.5138, allocations: 71.94 kB / 0.5871 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-05/0.5139, allocations: 92 kB / 0.5872 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.516, allocations: 0.7096 MB / 0.5879 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.5161, allocations: 135.5 kB / 0.588 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.5182, allocations: 445.7 kB / 0.5884 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.5185, allocations: 200.5 kB / 0.5886 GB, free: 11.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002189/0.5207, allocations: 1.433 MB / 0.59 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.5211, allocations: 165.8 kB / 0.5902 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.523, allocations: 1.197 MB / 0.5914 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.523, allocations: 15.98 kB / 0.5914 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.523, allocations: 4 kB / 0.5914 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.5231, allocations: 3.984 kB / 0.5914 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009229/0.5323, allocations: 4.971 MB / 0.5962 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.5324, allocations: 8.5 kB / 0.5962 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5329, allocations: 131.8 kB / 0.5964 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.5329, allocations: 15.94 kB / 0.5964 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.533, allocations: 24.69 kB / 0.5964 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.533, allocations: 19.92 kB / 0.5964 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.5331, allocations: 11.94 kB / 0.5964 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.5351, allocations: 1.51 MB / 0.5979 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006612/0.5358, allocations: 266.5 kB / 0.5982 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/0.5362, allocations: 31.92 kB / 0.5982 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.5368, allocations: 39.91 kB / 0.5982 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.537, allocations: 79.69 kB / 0.5983 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.537, allocations: 39.98 kB / 0.5984 GB, free: 1.023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001922/0.539, allocations: 1.324 MB / 0.5996 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.539, allocations: 0 / 0.5996 GB, free: 15.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002689/0.5417, allocations: 0.7531 MB / 0.6004 GB, free: 14.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003116/0.542, allocations: 149.6 kB / 0.6005 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003545/0.5456, allocations: 2.256 MB / 0.6027 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.5456, allocations: 4 kB / 0.6027 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007562/0.5464, allocations: 0.5454 MB / 0.6033 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.548, allocations: 253.9 kB / 0.6035 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.559, allocations: 5.867 MB / 0.6092 GB, free: 5.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/0.5623, allocations: 2.409 MB / 0.6116 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.5628, allocations: 159.4 kB / 0.6117 GB, free: 3.129 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5629, allocations: 0 / 0.6117 GB, free: 3.129 MB / 446.1 MB Notification: Performance of Templates: time 0.05217/0.615, allocations: 33.13 MB / 0.6441 GB, free: 2.008 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches