Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008854/0.0008849, allocations: 99.17 kB / 18.01 MB, free: 5.734 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.0008585/0.0008584, allocations: 179.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 242.9 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 44.25 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03507/0.1387, allocations: 36.63 MB / 0.4976 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.1547, allocations: 7.526 MB / 0.5049 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006146/0.1609, allocations: 151.7 kB / 0.5051 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.162, allocations: 306.6 kB / 0.5054 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2258/0.3878, allocations: 1.063 MB / 0.5064 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3889, allocations: 271 kB / 0.5067 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006018/0.395, allocations: 3.404 MB / 0.51 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006207/0.4012, allocations: 3.338 MB / 0.5133 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.4031, allocations: 0.6521 MB / 0.5139 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.4056, allocations: 1.053 MB / 0.5149 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006835/0.4063, allocations: 86.44 kB / 0.515 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.4084, allocations: 0.639 MB / 0.5156 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.4101, allocations: 1.027 MB / 0.5166 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002506/0.4127, allocations: 1.221 MB / 0.5178 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004363/0.417, allocations: 3.422 MB / 0.5212 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4171, allocations: 0 / 0.5212 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4171, allocations: 0 / 0.5212 GB, free: 9.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.4173, allocations: 1.344 kB / 0.5212 GB, free: 9.035 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007119/0.4244, allocations: 2.418 MB / 0.5235 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.4245, allocations: 10.44 kB / 0.5235 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005861/0.4303, allocations: 1.633 MB / 0.5251 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.4332, allocations: 1.335 MB / 0.5264 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.4334, allocations: 152.6 kB / 0.5266 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006717/0.4341, allocations: 193 kB / 0.5268 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.4453, allocations: 6.434 MB / 0.5331 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.769e-05/0.4454, allocations: 11.84 kB / 0.5331 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005324/0.446, allocations: 91.55 kB / 0.5332 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/0.448, allocations: 1.41 MB / 0.5345 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.4583, allocations: 5.495 MB / 0.5399 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03216/0.4905, allocations: 20.57 MB / 0.56 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/0.4956, allocations: 2.087 MB / 0.562 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.4968, allocations: 0.6879 MB / 0.5627 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007389/0.5042, allocations: 3.51 MB / 0.5661 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5043, allocations: 39 kB / 0.5662 GB, free: 4.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.737e-06/0.5043, allocations: 0 / 0.5662 GB, free: 4.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005787/0.5101, allocations: 1.988 MB / 0.5681 GB, free: 2.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.5102, allocations: 55.84 kB / 0.5682 GB, free: 2.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.5149, allocations: 1.966 MB / 0.5701 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/0.515, allocations: 39.97 kB / 0.5701 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.5169, allocations: 1.873 MB / 0.5719 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/0.5174, allocations: 321.1 kB / 0.5722 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/0.5179, allocations: 280 kB / 0.5725 GB, free: 14.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5181, allocations: 361.9 kB / 0.5729 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.5196, allocations: 0.8881 MB / 0.5737 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.5226, allocations: 2.777 MB / 0.5764 GB, free: 9.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00458/0.5272, allocations: 3.996 MB / 0.5803 GB, free: 4.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.621e-05/0.5272, allocations: 16 kB / 0.5804 GB, free: 4.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006493/0.5337, allocations: 3.545 MB / 0.5838 GB, free: 1.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.5338, allocations: 32 kB / 0.5838 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.534, allocations: 68 kB / 0.5839 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/0.5341, allocations: 91.94 kB / 0.584 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.5361, allocations: 0.6617 MB / 0.5846 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/0.5363, allocations: 133 kB / 0.5848 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.5387, allocations: 431.7 kB / 0.5852 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.5391, allocations: 184 kB / 0.5854 GB, free: 124 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * 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.003089/0.5422, allocations: 1.372 MB / 0.5867 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.5426, allocations: 165.8 kB / 0.5869 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005446/0.5431, allocations: 189.2 kB / 0.587 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/0.5432, allocations: 15.94 kB / 0.5871 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.5432, allocations: 4 kB / 0.5871 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.5432, allocations: 7.984 kB / 0.5871 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0094/0.5526, allocations: 4.134 MB / 0.5911 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.5527, allocations: 4.75 kB / 0.5911 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.5532, allocations: 99.91 kB / 0.5912 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.5532, allocations: 16 kB / 0.5912 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.5533, allocations: 16 kB / 0.5912 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-05/0.5533, allocations: 15.08 kB / 0.5912 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.5533, allocations: 8 kB / 0.5913 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.555, allocations: 1.247 MB / 0.5925 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.5557, allocations: 258.7 kB / 0.5927 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/0.5561, allocations: 19.98 kB / 0.5927 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.5568, allocations: 27.89 kB / 0.5928 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5569, allocations: 56.17 kB / 0.5928 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.557, allocations: 28 kB / 0.5928 GB, free: 8.328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00294/0.56, allocations: 1.287 MB / 0.5941 GB, free: 7.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.56, allocations: 0 / 0.5941 GB, free: 7.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003814/0.5638, allocations: 0.6999 MB / 0.5948 GB, free: 6.348 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0004963/0.5643, allocations: 150.4 kB / 0.5949 GB, free: 6.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.5681, allocations: 2.029 MB / 0.5969 GB, free: 4.367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.5681, allocations: 0 / 0.5969 GB, free: 4.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.5688, allocations: 459.4 kB / 0.5973 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.5718, allocations: 243.2 kB / 0.5976 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.5847, allocations: 6.848 MB / 0.6043 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003678/0.5884, allocations: 2.327 MB / 0.6065 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.589, allocations: 143.4 kB / 0.6067 GB, free: 10.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.392e-06/0.589, allocations: 0 / 0.6067 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Templates: time 0.05094/0.6399, allocations: 29.99 MB / 0.636 GB, free: 12.33 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches