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.001067/0.001067, allocations: 111.3 kB / 17.09 MB, free: 5.988 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.001135/0.001136, allocations: 198.9 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.352/1.352, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2006/0.2006, allocations: 43.51 MB / 314.8 MB, free: 460 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.001552/0.001552, allocations: 73.45 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1006, allocations: 57.8 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01138/0.112, allocations: 10.53 MB / 0.4988 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.118, allocations: 3.003 MB / 0.5018 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.1193, allocations: 55.88 kB / 0.5018 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003872/0.1232, allocations: 2.001 MB / 0.5038 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.1262, allocations: 1.218 MB / 0.505 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.127, allocations: 287.5 kB / 0.5052 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.1305, allocations: 2.454 MB / 0.5076 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.1335, allocations: 2.375 MB / 0.5099 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.135, allocations: 0.9461 MB / 0.5109 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.1369, allocations: 1.265 MB / 0.5121 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005572/0.1374, allocations: 212 kB / 0.5123 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1389, allocations: 0.7021 MB / 0.513 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.1401, allocations: 1.219 MB / 0.5142 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.1421, allocations: 1.429 MB / 0.5156 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004623/0.1468, allocations: 4.706 MB / 0.5202 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1468, allocations: 0 / 0.5202 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1468, allocations: 0 / 0.5202 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.1469, allocations: 4 kB / 0.5202 GB, free: 11.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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005613/0.1525, allocations: 3.072 MB / 0.5232 GB, free: 8.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1526, allocations: 19.89 kB / 0.5232 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00553/0.1581, allocations: 1.607 MB / 0.5248 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.161, allocations: 1.398 MB / 0.5261 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.1612, allocations: 160.2 kB / 0.5263 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.1617, allocations: 195.8 kB / 0.5265 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2131/0.3748, allocations: 6.79 MB / 0.5331 GB, free: 36.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-05/0.3749, allocations: 12.12 kB / 0.5331 GB, free: 36.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.3752, allocations: 94.11 kB / 0.5332 GB, free: 36.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002592/0.3778, allocations: 1.484 MB / 0.5347 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009764/0.3876, allocations: 5.808 MB / 0.5403 GB, free: 35.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02511/0.4127, allocations: 21.44 MB / 0.5613 GB, free: 21.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004059/0.4168, allocations: 2.258 MB / 0.5635 GB, free: 20.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/0.4177, allocations: 0.7808 MB / 0.5642 GB, free: 19.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005988/0.4237, allocations: 3.733 MB / 0.5679 GB, free: 17.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.4238, allocations: 42.47 kB / 0.5679 GB, free: 17.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 2.525e-06/0.4238, allocations: 0 / 0.5679 GB, free: 17.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005183/0.429, allocations: 2.196 MB / 0.5701 GB, free: 16.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.429, allocations: 55.97 kB / 0.5701 GB, free: 16.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.4315, allocations: 2.032 MB / 0.5721 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.4316, allocations: 37.7 kB / 0.5721 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008746/0.4324, allocations: 1.951 MB / 0.574 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.4327, allocations: 368.6 kB / 0.5744 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006756/0.4334, allocations: 0.6587 MB / 0.575 GB, free: 11.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.4335, allocations: 357.9 kB / 0.5754 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.4346, allocations: 0.9704 MB / 0.5763 GB, free: 9.715 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.4365, allocations: 2.922 MB / 0.5792 GB, free: 5.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.4396, allocations: 4.246 MB / 0.5833 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/0.4396, allocations: 20 kB / 0.5833 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005195/0.4448, allocations: 3.784 MB / 0.587 GB, free: 12.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.4448, allocations: 36.25 kB / 0.5871 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.076e-05/0.4449, allocations: 72 kB / 0.5871 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.665e-05/0.445, allocations: 97.81 kB / 0.5872 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.447, allocations: 0.7096 MB / 0.5879 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.4471, allocations: 135.5 kB / 0.5881 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.449, allocations: 444 kB / 0.5885 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.4492, allocations: 204 kB / 0.5887 GB, free: 11.12 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.001838/0.451, allocations: 1.429 MB / 0.5901 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.4512, allocations: 161.8 kB / 0.5902 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.4531, allocations: 1.2 MB / 0.5914 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4531, allocations: 7.984 kB / 0.5914 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.4531, allocations: 0 / 0.5914 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.4534, allocations: 230.8 kB / 0.5916 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.4536, allocations: 12.81 kB / 0.5916 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.4541, allocations: 30 kB / 0.5917 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.4542, allocations: 36.52 kB / 0.5917 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001701/0.4559, allocations: 1.103 MB / 0.5928 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001577/0.4575, allocations: 1.312 MB / 0.5941 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006039/0.4581, allocations: 477.8 kB / 0.5945 GB, free: 5.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001578/0.4597, allocations: 1.26 MB / 0.5958 GB, free: 3.828 MB / 430.1 MB Notification: Performance of Backend: time 5.01e-07/0.4597, allocations: 0 / 0.5958 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.4632, allocations: 1.954 MB / 0.5977 GB, free: 1.895 MB / 430.1 MB Notification: Performance of SimCode: time 0.009599/0.4728, allocations: 5.667 MB / 0.6032 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Templates: time 0.03803/0.5108, allocations: 21.54 MB / 0.6242 GB, free: 6.656 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