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.001321/0.001322, allocations: 110 kB / 17.09 MB, free: 5.98 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.001398/0.001398, allocations: 199.3 kB / 18.02 MB, free: 5.062 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.298/1.298, 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.1977/0.1977, allocations: 43.54 MB / 314.8 MB, free: 468 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.00139/0.00139, allocations: 63.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09995, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01127/0.1113, allocations: 10.55 MB / 0.4988 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005701/0.117, allocations: 3.003 MB / 0.5018 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.1182, allocations: 51.94 kB / 0.5018 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.1216, allocations: 2.001 MB / 0.5038 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.1241, allocations: 1.191 MB / 0.5049 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.1247, allocations: 287.4 kB / 0.5052 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.1271, allocations: 2.454 MB / 0.5076 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.1293, allocations: 2.375 MB / 0.5099 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008423/0.1301, allocations: 0.95 MB / 0.5109 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.1314, allocations: 1.265 MB / 0.5121 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.1317, allocations: 215.9 kB / 0.5123 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.1327, allocations: 0.6944 MB / 0.513 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008612/0.1336, allocations: 1.22 MB / 0.5142 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009971/0.1346, allocations: 1.437 MB / 0.5156 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.1383, allocations: 4.699 MB / 0.5202 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1383, allocations: 4 kB / 0.5202 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1383, allocations: 0 / 0.5202 GB, free: 11.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.816e-05/0.1383, allocations: 0 / 0.5202 GB, free: 11.28 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.004084/0.1424, allocations: 3.08 MB / 0.5232 GB, free: 8.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1425, allocations: 15.89 kB / 0.5232 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.1474, allocations: 1.603 MB / 0.5247 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.1497, allocations: 1.398 MB / 0.5261 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.1498, allocations: 160.2 kB / 0.5263 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.1502, allocations: 207.8 kB / 0.5265 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2347/0.3849, allocations: 6.776 MB / 0.5331 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.385, allocations: 15.12 kB / 0.5331 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.3853, allocations: 93.97 kB / 0.5332 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/0.3875, allocations: 1.48 MB / 0.5346 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009817/0.3973, allocations: 5.809 MB / 0.5403 GB, free: 35.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02321/0.4206, allocations: 21.44 MB / 0.5612 GB, free: 21.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.4245, allocations: 2.261 MB / 0.5634 GB, free: 20.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008283/0.4253, allocations: 0.7825 MB / 0.5642 GB, free: 19.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004888/0.4302, allocations: 3.737 MB / 0.5679 GB, free: 17.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4302, allocations: 42.73 kB / 0.5679 GB, free: 17.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 3.156e-06/0.4302, allocations: 0 / 0.5679 GB, free: 17.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.004916/0.4352, allocations: 2.194 MB / 0.57 GB, free: 16.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.4352, allocations: 55.97 kB / 0.5701 GB, free: 16.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.437, allocations: 2.032 MB / 0.5721 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.437, allocations: 39.73 kB / 0.5721 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.4377, allocations: 1.951 MB / 0.574 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.4378, allocations: 366.1 kB / 0.5744 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005376/0.4384, allocations: 0.6609 MB / 0.575 GB, free: 11.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.4384, allocations: 357.9 kB / 0.5754 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4395, allocations: 0.9666 MB / 0.5763 GB, free: 9.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.4411, allocations: 2.922 MB / 0.5792 GB, free: 5.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.4439, allocations: 4.246 MB / 0.5833 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/0.4439, allocations: 20 kB / 0.5833 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.004892/0.4488, allocations: 3.786 MB / 0.587 GB, free: 12.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.4488, allocations: 32 kB / 0.587 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.301e-05/0.4489, allocations: 72 kB / 0.5871 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.729e-05/0.449, allocations: 91.94 kB / 0.5872 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.451, allocations: 0.7174 MB / 0.5879 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.4511, allocations: 131.5 kB / 0.588 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.4528, allocations: 451.3 kB / 0.5885 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.4531, allocations: 194.1 kB / 0.5886 GB, free: 11.21 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.001956/0.4551, allocations: 1.431 MB / 0.59 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.4552, allocations: 165.8 kB / 0.5902 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.4571, allocations: 1.203 MB / 0.5914 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4571, allocations: 3.984 kB / 0.5914 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4571, allocations: 3.25 kB / 0.5914 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.4574, allocations: 234.8 kB / 0.5916 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.4575, allocations: 12 kB / 0.5916 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.458, allocations: 23.97 kB / 0.5916 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.4581, allocations: 40.5 kB / 0.5917 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001616/0.4597, allocations: 1.116 MB / 0.5928 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001517/0.4612, allocations: 1.308 MB / 0.594 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005857/0.4618, allocations: 480.7 kB / 0.5945 GB, free: 5.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.4633, allocations: 1.248 MB / 0.5957 GB, free: 3.91 MB / 430.1 MB Notification: Performance of Backend: time 1.823e-06/0.4633, allocations: 0 / 0.5957 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.4664, allocations: 1.949 MB / 0.5976 GB, free: 1.977 MB / 430.1 MB Notification: Performance of SimCode: time 0.007376/0.4738, allocations: 5.677 MB / 0.6032 GB, free: 12.25 MB / 446.1 MB Notification: Performance of Templates: time 0.0367/0.5105, allocations: 21.41 MB / 0.6241 GB, free: 6.852 MB / 462.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