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.001223/0.001223, allocations: 108.9 kB / 17.21 MB, free: 6.27 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.0011/0.0011, allocations: 194 kB / 18.12 MB, free: 5.363 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.424/1.424, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2235/0.2235, allocations: 44.17 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 65 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.05183/0.1846, allocations: 37.69 MB / 0.4943 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02947/0.2142, allocations: 7.576 MB / 0.5017 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007942/0.2222, allocations: 151.7 kB / 0.5019 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2927/0.5148, allocations: 1.993 MB / 0.5038 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.5197, allocations: 1.068 MB / 0.5049 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.5208, allocations: 267.9 kB / 0.5051 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006414/0.5273, allocations: 3.403 MB / 0.5084 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004954/0.5322, allocations: 2.318 MB / 0.5107 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.5346, allocations: 0.8022 MB / 0.5115 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.5378, allocations: 1.242 MB / 0.5127 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.539, allocations: 152 kB / 0.5129 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.5415, allocations: 0.6942 MB / 0.5135 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.5438, allocations: 1.114 MB / 0.5146 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.5477, allocations: 1.311 MB / 0.5159 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007128/0.5548, allocations: 4.254 MB / 0.5201 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5549, allocations: 0 / 0.5201 GB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5549, allocations: 1.375 kB / 0.5201 GB, free: 8.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002047/0.5551, allocations: 0 / 0.5201 GB, free: 8.887 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.007731/0.5629, allocations: 2.945 MB / 0.5229 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5629, allocations: 9.156 kB / 0.5229 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.5678, allocations: 1.581 MB / 0.5245 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.5705, allocations: 1.348 MB / 0.5258 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.5706, allocations: 147.9 kB / 0.5259 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.5709, allocations: 191.7 kB / 0.5261 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.5812, allocations: 6.437 MB / 0.5324 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/0.5813, allocations: 12.31 kB / 0.5324 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.5816, allocations: 87.61 kB / 0.5325 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001926/0.5835, allocations: 1.404 MB / 0.5339 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.5945, allocations: 5.487 MB / 0.5392 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03538/0.6299, allocations: 20.56 MB / 0.5593 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005227/0.6352, allocations: 2.088 MB / 0.5614 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.6365, allocations: 0.6935 MB / 0.562 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0074/0.6439, allocations: 3.508 MB / 0.5655 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.644, allocations: 39 kB / 0.5655 GB, free: 2.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.599e-06/0.644, allocations: 0 / 0.5655 GB, free: 2.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005621/0.6496, allocations: 1.978 MB / 0.5674 GB, free: 0.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.6497, allocations: 63.78 kB / 0.5675 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/0.6536, allocations: 1.963 MB / 0.5694 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.6537, allocations: 37.7 kB / 0.5694 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.6552, allocations: 1.878 MB / 0.5713 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/0.6557, allocations: 310 kB / 0.5716 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009888/0.6567, allocations: 0.6261 MB / 0.5722 GB, free: 11.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6569, allocations: 353.9 kB / 0.5725 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.6584, allocations: 0.8994 MB / 0.5734 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/0.6614, allocations: 2.776 MB / 0.5761 GB, free: 6.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00465/0.666, allocations: 3.992 MB / 0.58 GB, free: 2.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-05/0.6661, allocations: 23.98 kB / 0.58 GB, free: 2.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006319/0.6725, allocations: 3.546 MB / 0.5835 GB, free: 15.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.6726, allocations: 32 kB / 0.5835 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.6727, allocations: 68 kB / 0.5836 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.846e-05/0.6728, allocations: 88 kB / 0.5837 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.6748, allocations: 0.6651 MB / 0.5843 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001254/0.675, allocations: 131 kB / 0.5844 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.6775, allocations: 430.8 kB / 0.5849 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/0.6779, allocations: 188 kB / 0.585 GB, free: 13.52 MB / 446.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.003383/0.6813, allocations: 1.372 MB / 0.5864 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/0.6818, allocations: 153.9 kB / 0.5865 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.6823, allocations: 197.2 kB / 0.5867 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.6824, allocations: 15.94 kB / 0.5867 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.6824, allocations: 0 / 0.5867 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6824, allocations: 4 kB / 0.5867 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009846/0.6923, allocations: 4.142 MB / 0.5908 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.6923, allocations: 8 kB / 0.5908 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.6928, allocations: 96.48 kB / 0.5909 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.6928, allocations: 8.75 kB / 0.5909 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.6928, allocations: 23.98 kB / 0.5909 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.6929, allocations: 18.94 kB / 0.5909 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.6929, allocations: 4 kB / 0.5909 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.6947, allocations: 1.248 MB / 0.5921 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006307/0.6953, allocations: 254.7 kB / 0.5924 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.6958, allocations: 12 kB / 0.5924 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.6964, allocations: 35.88 kB / 0.5924 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6965, allocations: 47.08 kB / 0.5925 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.6966, allocations: 28 kB / 0.5925 GB, free: 5.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002694/0.6993, allocations: 1.285 MB / 0.5938 GB, free: 4.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6993, allocations: 4 kB / 0.5938 GB, free: 4.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003926/0.7033, allocations: 0.7064 MB / 0.5945 GB, free: 3.75 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.0004332/0.7037, allocations: 139.5 kB / 0.5946 GB, free: 3.613 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003593/0.7073, allocations: 2.036 MB / 0.5966 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.7073, allocations: 0 / 0.5966 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.708, allocations: 459.9 kB / 0.597 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.7098, allocations: 235 kB / 0.5972 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.7239, allocations: 6.501 MB / 0.6036 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004261/0.7282, allocations: 2.324 MB / 0.6059 GB, free: 8.172 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002736/0.731, allocations: 0.9638 MB / 0.6068 GB, free: 7.203 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.7315, allocations: 123.4 kB / 0.6069 GB, free: 7.086 MB / 462.1 MB Notification: Performance of SimCode: time 1.532e-06/0.7315, allocations: 0 / 0.6069 GB, free: 7.086 MB / 462.1 MB Notification: Performance of Templates: time 0.03404/0.7655, allocations: 13.97 MB / 0.6206 GB, free: 9.215 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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