Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2743/0.2743, allocations: 34.25 MB / 296.1 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.783e-05, allocations: 4.062 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007953/0.007981, allocations: 9.064 MB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.01323, allocations: 2.963 MB / 337.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.01443, allocations: 55.81 kB / 337.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.01687, allocations: 2.091 MB / 339.4 MB, free: 9.441 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.01919, allocations: 1.171 MB / 340.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.02003, allocations: 319.2 kB / 340.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.02241, allocations: 2.21 MB / 343.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.02399, allocations: 1.852 MB / 345 MB, free: 3.824 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.02534, allocations: 1.294 MB / 346.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.02649, allocations: 1.114 MB / 347.4 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.02675, allocations: 196 kB / 347.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.02783, allocations: 0.6707 MB / 348.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007168/0.02855, allocations: 1.18 MB / 349.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005653/0.02912, allocations: 0.7164 MB / 350.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.0314, allocations: 2.728 MB / 352.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.03141, allocations: 0 / 352.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03141, allocations: 3.938 kB / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.862e-05/0.03149, allocations: 0 / 352.9 MB, free: 11.9 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003084/0.03457, allocations: 2.671 MB / 355.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.03461, allocations: 12.03 kB / 355.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.03641, allocations: 0.746 MB / 356.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.03762, allocations: 1.061 MB / 357.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.03769, allocations: 148 kB / 357.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.03789, allocations: 184.3 kB / 357.7 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.0411, allocations: 2.841 MB / 360.5 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.04113, allocations: 11.88 kB / 360.6 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.04127, allocations: 87.91 kB / 360.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009742/0.04225, allocations: 1.196 MB / 361.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.04511, allocations: 1.516 MB / 363.4 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.05803, allocations: 15.27 MB / 378.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.05983, allocations: 0.9074 MB / 379.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.06004, allocations: 160.3 kB / 379.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002757/0.06279, allocations: 2.126 MB / 381.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.06282, allocations: 39.06 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/0.06282, allocations: 0 / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002282/0.06511, allocations: 1.094 MB / 382.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.06513, allocations: 59.91 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.06643, allocations: 1.428 MB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.06646, allocations: 33.7 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.06717, allocations: 1.842 MB / 386.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.06733, allocations: 313.5 kB / 386.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.06775, allocations: 0.5801 MB / 387.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.06784, allocations: 349.9 kB / 387.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.06816, allocations: 314.1 kB / 387.8 MB, free: 7.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.06921, allocations: 2.095 MB / 389.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.07134, allocations: 2.744 MB / 392.7 MB, free: 1.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.203e-05/0.07137, allocations: 20 kB / 392.7 MB, free: 1.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002112/0.07349, allocations: 1.964 MB / 394.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.07352, allocations: 32 kB / 394.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.845e-05/0.07357, allocations: 64 kB / 394.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.614e-05/0.07363, allocations: 88 kB / 394.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.07475, allocations: 0.6668 MB / 395.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-05/0.07481, allocations: 135.4 kB / 395.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.0759, allocations: 401.4 kB / 396 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.07605, allocations: 168 kB / 396.2 MB, free: 13.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.0009857/0.07703, allocations: 361.7 kB / 396.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.07715, allocations: 91.84 kB / 396.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.0773, allocations: 164 kB / 396.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.07732, allocations: 12 kB / 396.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.07732, allocations: 4 kB / 396.8 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.07732, allocations: 3.938 kB / 396.8 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.07968, allocations: 1.876 MB / 398.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.07969, allocations: 4 kB / 398.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.07992, allocations: 91.84 kB / 398.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.07992, allocations: 8.75 kB / 398.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.07995, allocations: 16 kB / 398.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.07996, allocations: 15.98 kB / 398.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.07996, allocations: 11.88 kB / 398.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.08047, allocations: 0.6174 MB / 399.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.08061, allocations: 146.8 kB / 399.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.08069, allocations: 19.98 kB / 399.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.08089, allocations: 12 kB / 399.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.08095, allocations: 51.81 kB / 399.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.08099, allocations: 31.98 kB / 399.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004361/0.08142, allocations: 0.5487 MB / 400.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08142, allocations: 0 / 400.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001716/0.08314, allocations: 0.7007 MB / 401 MB, free: 8.664 MB / 378.7 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.0002553/0.08339, allocations: 135.9 kB / 401.1 MB, free: 8.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.08462, allocations: 1.099 MB / 402.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.846e-05/0.0847, allocations: 47.94 kB / 402.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.08486, allocations: 163.3 kB / 402.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.08543, allocations: 198.1 kB / 402.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.09071, allocations: 4.464 MB / 407.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.09133, allocations: 0.7541 MB / 407.8 MB, free: 1.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005569/0.09189, allocations: 242.6 kB / 408 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.09219, allocations: 267.3 kB / 408.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of SimCode: time 2.014e-06/0.09219, allocations: 0 / 408.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of Templates: time 0.02195/0.1141, allocations: 12.47 MB / 420.8 MB, free: 4.824 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2409548037685454]