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.001417/0.001417, allocations: 106.3 kB / 17.03 MB, free: 5.66 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.001423/0.001423, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.607/1.607, allocations: 205.1 MB / 223.8 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.2185/0.2185, allocations: 43.53 MB / 314.7 MB, free: 472 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.001537/0.001537, allocations: 73.73 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.13, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01063/0.1407, allocations: 10.53 MB / 452.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007294/0.148, allocations: 3.003 MB / 455.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.1501, allocations: 55.88 kB / 455.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.1541, allocations: 2.013 MB / 457.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.1579, allocations: 1.187 MB / 458.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008737/0.1588, allocations: 283.5 kB / 459 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003534/0.1623, allocations: 2.457 MB / 461.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002741/0.1651, allocations: 2.375 MB / 463.9 MB, free: 128 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.1666, allocations: 0.9462 MB / 464.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.1683, allocations: 1.265 MB / 466.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.1687, allocations: 216 kB / 466.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.17, allocations: 0.6982 MB / 467 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.1713, allocations: 1.208 MB / 468.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.1731, allocations: 1.429 MB / 469.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006116/0.1792, allocations: 4.71 MB / 474.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1793, allocations: 3.938 kB / 474.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1793, allocations: 0 / 474.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001951/0.1795, allocations: 0 / 474.3 MB, free: 5.617 MB / 350.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.008346/0.1878, allocations: 3.076 MB / 477.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.047e-05/0.1879, allocations: 15.83 kB / 477.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005769/0.1937, allocations: 1.611 MB / 479 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004281/0.198, allocations: 1.391 MB / 480.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.1982, allocations: 160.3 kB / 480.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000681/0.1989, allocations: 203.8 kB / 480.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.2122, allocations: 6.784 MB / 487.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.2123, allocations: 11.88 kB / 487.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.2126, allocations: 99.89 kB / 487.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/0.2151, allocations: 1.47 MB / 489.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.2272, allocations: 5.823 MB / 495 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03109/0.2584, allocations: 21.43 MB / 0.5043 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004666/0.2631, allocations: 2.245 MB / 0.5065 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.2643, allocations: 0.7876 MB / 0.5073 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007332/0.2716, allocations: 3.742 MB / 0.5109 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.2717, allocations: 39.12 kB / 0.5109 GB, free: 3.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 4.549e-06/0.2717, allocations: 0 / 0.5109 GB, free: 3.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005712/0.2775, allocations: 2.193 MB / 0.5131 GB, free: 1.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.2776, allocations: 59.97 kB / 0.5131 GB, free: 1.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.2807, allocations: 2.024 MB / 0.5151 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.2808, allocations: 33.7 kB / 0.5152 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.2824, allocations: 1.964 MB / 0.5171 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.2827, allocations: 371.3 kB / 0.5174 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008043/0.2836, allocations: 0.6548 MB / 0.5181 GB, free: 12.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2837, allocations: 357.9 kB / 0.5184 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.2851, allocations: 0.9666 MB / 0.5193 GB, free: 10.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/0.2884, allocations: 2.922 MB / 0.5222 GB, free: 6.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005968/0.2944, allocations: 4.237 MB / 0.5263 GB, free: 1.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.236e-05/0.2944, allocations: 23.94 kB / 0.5264 GB, free: 1.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2876/0.582, allocations: 3.783 MB / 0.5301 GB, free: 85.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.851e-05/0.5822, allocations: 35.16 kB / 0.5301 GB, free: 85.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.5823, allocations: 69.31 kB / 0.5302 GB, free: 85.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.5825, allocations: 98.66 kB / 0.5303 GB, free: 85.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.5848, allocations: 0.7108 MB / 0.5309 GB, free: 85.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/0.585, allocations: 137.7 kB / 0.5311 GB, free: 85.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.5874, allocations: 445.4 kB / 0.5315 GB, free: 85.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.5877, allocations: 198.9 kB / 0.5317 GB, free: 85.64 MB / 414.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.002493/0.5902, allocations: 1.427 MB / 0.5331 GB, free: 85.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.5905, allocations: 169.8 kB / 0.5332 GB, free: 85.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.5926, allocations: 1.192 MB / 0.5344 GB, free: 85.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.5926, allocations: 17.53 kB / 0.5344 GB, free: 85.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.5926, allocations: 0 / 0.5344 GB, free: 85.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5926, allocations: 5.422 kB / 0.5344 GB, free: 85.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008818/0.6015, allocations: 4.982 MB / 0.5393 GB, free: 83.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.6015, allocations: 11.34 kB / 0.5393 GB, free: 83.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.6021, allocations: 133.1 kB / 0.5394 GB, free: 83.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.6021, allocations: 13.47 kB / 0.5394 GB, free: 83.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.6022, allocations: 27.83 kB / 0.5395 GB, free: 83.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/0.6022, allocations: 17.61 kB / 0.5395 GB, free: 83.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.6022, allocations: 15.28 kB / 0.5395 GB, free: 83.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.6045, allocations: 1.514 MB / 0.541 GB, free: 82.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.605, allocations: 266.2 kB / 0.5412 GB, free: 82.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.6052, allocations: 24.77 kB / 0.5413 GB, free: 82.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.6058, allocations: 38.5 kB / 0.5413 GB, free: 82.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6059, allocations: 73.86 kB / 0.5414 GB, free: 82.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/0.606, allocations: 44.31 kB / 0.5414 GB, free: 82.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001855/0.6079, allocations: 1.322 MB / 0.5427 GB, free: 81.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6079, allocations: 0 / 0.5427 GB, free: 81.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00286/0.6107, allocations: 0.7574 MB / 0.5434 GB, free: 81.71 MB / 414.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.0002846/0.611, allocations: 148.3 kB / 0.5436 GB, free: 81.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.6143, allocations: 2.257 MB / 0.5458 GB, free: 80.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.6143, allocations: 0 / 0.5458 GB, free: 80.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.615, allocations: 0.5349 MB / 0.5463 GB, free: 80.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.6163, allocations: 271.6 kB / 0.5466 GB, free: 80.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.6252, allocations: 5.531 MB / 0.552 GB, free: 77.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.6273, allocations: 2.407 MB / 0.5543 GB, free: 75.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001863/0.6292, allocations: 1.011 MB / 0.5553 GB, free: 75.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.6295, allocations: 135.1 kB / 0.5554 GB, free: 74.97 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6295, allocations: 0 / 0.5554 GB, free: 74.97 MB / 414.1 MB Notification: Performance of Templates: time 0.02634/0.6558, allocations: 15.58 MB / 0.5707 GB, free: 59.75 MB / 414.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 -s cvode -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