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.001314/0.001314, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001359/0.001359, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.553/1.553, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2135/0.2135, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.001508/0.001508, allocations: 69.19 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1054, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009605/0.115, allocations: 10.55 MB / 451.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.1222, allocations: 2.995 MB / 454.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.1239, allocations: 51.94 kB / 454.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.1276, allocations: 2.009 MB / 456.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.1307, allocations: 1.183 MB / 458 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.1315, allocations: 299.4 kB / 458.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003456/0.135, allocations: 2.434 MB / 460.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/0.1382, allocations: 2.391 MB / 463.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.1398, allocations: 0.9539 MB / 464 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1417, allocations: 1.269 MB / 465.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005964/0.1423, allocations: 212 kB / 465.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.1438, allocations: 0.6983 MB / 466.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.1453, allocations: 1.204 MB / 467.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.1471, allocations: 1.433 MB / 468.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004697/0.1518, allocations: 4.529 MB / 473.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1518, allocations: 0 / 473.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1518, allocations: 0 / 473.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.152, allocations: 0 / 473.4 MB, free: 6.551 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.005405/0.1574, allocations: 3.08 MB / 476.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1574, allocations: 15.89 kB / 476.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005341/0.1628, allocations: 1.611 MB / 478.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.1654, allocations: 1.379 MB / 479.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1656, allocations: 152.3 kB / 479.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/0.166, allocations: 204 kB / 479.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.1766, allocations: 6.788 MB / 486.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.83e-05/0.1767, allocations: 11.88 kB / 486.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.177, allocations: 99.89 kB / 486.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.1792, allocations: 1.477 MB / 488.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.19, allocations: 5.81 MB / 494 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.2204, allocations: 21.59 MB / 0.5035 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/0.2255, allocations: 2.253 MB / 0.5057 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.2268, allocations: 0.7893 MB / 0.5065 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006554/0.2334, allocations: 3.734 MB / 0.5101 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2334, allocations: 43.12 kB / 0.5102 GB, free: 4.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.778e-06/0.2335, allocations: 0 / 0.5102 GB, free: 4.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.006192/0.2397, allocations: 2.193 MB / 0.5123 GB, free: 1.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.2397, allocations: 59.91 kB / 0.5124 GB, free: 1.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.2427, allocations: 2.02 MB / 0.5143 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.593e-05/0.2428, allocations: 41.7 kB / 0.5144 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.2441, allocations: 1.964 MB / 0.5163 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.2446, allocations: 367.3 kB / 0.5166 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008248/0.2454, allocations: 0.6548 MB / 0.5173 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2456, allocations: 357.9 kB / 0.5176 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.2471, allocations: 0.9627 MB / 0.5186 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/0.2499, allocations: 2.922 MB / 0.5214 GB, free: 7.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/0.2547, allocations: 4.249 MB / 0.5256 GB, free: 2.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.702e-05/0.2548, allocations: 20 kB / 0.5256 GB, free: 2.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.1929/0.4477, allocations: 3.786 MB / 0.5293 GB, free: 85.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.4478, allocations: 34.69 kB / 0.5293 GB, free: 85.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.828e-05/0.4479, allocations: 67.81 kB / 0.5294 GB, free: 85.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.448, allocations: 94.5 kB / 0.5295 GB, free: 85.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.4502, allocations: 0.7109 MB / 0.5302 GB, free: 85.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/0.4503, allocations: 138.3 kB / 0.5303 GB, free: 85.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.4524, allocations: 441.8 kB / 0.5307 GB, free: 85.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.4527, allocations: 198.8 kB / 0.5309 GB, free: 85.09 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.002085/0.4548, allocations: 1.433 MB / 0.5323 GB, free: 84.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.4551, allocations: 168.9 kB / 0.5325 GB, free: 84.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.457, allocations: 1.192 MB / 0.5336 GB, free: 84.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.4571, allocations: 14.33 kB / 0.5336 GB, free: 84.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4571, allocations: 1.297 kB / 0.5336 GB, free: 84.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4571, allocations: 3.141 kB / 0.5336 GB, free: 84.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008345/0.4654, allocations: 4.98 MB / 0.5385 GB, free: 83.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.4655, allocations: 12.41 kB / 0.5385 GB, free: 83.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.4661, allocations: 133.9 kB / 0.5387 GB, free: 83.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.069e-05/0.4661, allocations: 14.81 kB / 0.5387 GB, free: 83.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.4662, allocations: 25.33 kB / 0.5387 GB, free: 83.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.016e-05/0.4662, allocations: 17.81 kB / 0.5387 GB, free: 83.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.4662, allocations: 14.28 kB / 0.5387 GB, free: 83.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.4684, allocations: 1.514 MB / 0.5402 GB, free: 82.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.4688, allocations: 266.8 kB / 0.5405 GB, free: 82.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.469, allocations: 24.42 kB / 0.5405 GB, free: 82.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.4696, allocations: 42.91 kB / 0.5405 GB, free: 82.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4697, allocations: 75.08 kB / 0.5406 GB, free: 82.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.4698, allocations: 41.72 kB / 0.5406 GB, free: 82.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001943/0.4718, allocations: 1.327 MB / 0.5419 GB, free: 82.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.4718, allocations: 0 / 0.5419 GB, free: 82.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002741/0.4745, allocations: 0.7484 MB / 0.5427 GB, free: 81.97 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.0002988/0.4748, allocations: 147.9 kB / 0.5428 GB, free: 81.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.4781, allocations: 2.465 MB / 0.5452 GB, free: 81.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.4781, allocations: 0 / 0.5452 GB, free: 81.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.4787, allocations: 0.5362 MB / 0.5457 GB, free: 80.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4801, allocations: 267.9 kB / 0.546 GB, free: 80.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.4878, allocations: 5.943 MB / 0.5518 GB, free: 77.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.4897, allocations: 2.415 MB / 0.5541 GB, free: 75.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/0.4902, allocations: 159.3 kB / 0.5543 GB, free: 75.62 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4902, allocations: 0 / 0.5543 GB, free: 75.62 MB / 414.1 MB Notification: Performance of Templates: time 0.03791/0.5281, allocations: 32.39 MB / 0.5859 GB, free: 43.86 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 -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