Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.0009955/0.0009955, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001043/0.001043, allocations: 174 kB / 24.92 MB, free: 8.766 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 0.9543/0.9543, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2511/0.2511, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.134e-05, allocations: 5.125 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0103/0.01033, allocations: 9.011 MB / 334.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007035/0.01736, allocations: 2.951 MB / 337.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.01915, allocations: 55.81 kB / 337.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.02292, allocations: 2.142 MB / 339.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.0263, allocations: 1.182 MB / 340.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008463/0.02715, allocations: 315.2 kB / 340.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003291/0.03044, allocations: 2.21 MB / 343.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.03273, allocations: 1.852 MB / 344.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.03475, allocations: 1.298 MB / 346.2 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.0369, allocations: 1.122 MB / 347.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004207/0.03732, allocations: 192 kB / 347.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.03846, allocations: 0.6396 MB / 348.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.03954, allocations: 1.188 MB / 349.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.04062, allocations: 0.7163 MB / 350.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003724/0.04435, allocations: 2.728 MB / 352.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.04435, allocations: 0 / 352.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.04436, allocations: 0 / 352.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.102e-05/0.04445, allocations: 0 / 352.8 MB, free: 11.96 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.004288/0.04873, allocations: 2.686 MB / 355.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.04878, allocations: 8.031 kB / 355.5 MB, free: 9.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.05127, allocations: 0.7421 MB / 356.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.05308, allocations: 1.057 MB / 357.3 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.05318, allocations: 140 kB / 357.5 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.05348, allocations: 188.3 kB / 357.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004534/0.05801, allocations: 2.841 MB / 360.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/0.05806, allocations: 15.88 kB / 360.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.05836, allocations: 91.91 kB / 360.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001427/0.05979, allocations: 1.2 MB / 361.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.06382, allocations: 1.506 MB / 363.3 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.0819, allocations: 15.28 MB / 378.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.08475, allocations: 0.9019 MB / 379.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.08509, allocations: 156.8 kB / 379.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004615/0.0897, allocations: 2.134 MB / 381.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.08974, allocations: 39.05 kB / 381.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.08974, allocations: 0 / 381.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.003898/0.09364, allocations: 1.097 MB / 382.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.09368, allocations: 55.91 kB / 382.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.0955, allocations: 1.424 MB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.09554, allocations: 33.7 kB / 384.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009675/0.09651, allocations: 1.842 MB / 386.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.09671, allocations: 321.5 kB / 386.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004578/0.09717, allocations: 0.5762 MB / 387.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.09728, allocations: 345.9 kB / 387.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.09784, allocations: 314.2 kB / 387.8 MB, free: 7.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.0994, allocations: 2.087 MB / 389.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.1023, allocations: 2.75 MB / 392.6 MB, free: 1.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.309e-05/0.1023, allocations: 16 kB / 392.6 MB, free: 1.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00343/0.1057, allocations: 1.96 MB / 394.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.1058, allocations: 34.34 kB / 394.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-05/0.1058, allocations: 71.98 kB / 394.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-05/0.1059, allocations: 88.78 kB / 394.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.107, allocations: 0.6433 MB / 395.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-05/0.107, allocations: 135.5 kB / 395.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.1083, allocations: 400.9 kB / 395.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.1084, allocations: 164 kB / 396.1 MB, free: 13.72 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.0007593/0.1092, allocations: 365.6 kB / 396.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1093, allocations: 91.84 kB / 396.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1095, allocations: 168 kB / 396.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.1095, allocations: 8 kB / 396.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1095, allocations: 4 kB / 396.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1095, allocations: 0 / 396.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.1119, allocations: 1.88 MB / 398.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1119, allocations: 4.75 kB / 398.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1121, allocations: 83.84 kB / 398.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.1121, allocations: 12 kB / 398.7 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.1121, allocations: 16 kB / 398.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.158e-06/0.1121, allocations: 15.92 kB / 398.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1121, allocations: 8 kB / 398.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.1126, allocations: 0.6174 MB / 399.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.1127, allocations: 150.8 kB / 399.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.1128, allocations: 19.98 kB / 399.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.113, allocations: 16 kB / 399.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.1131, allocations: 51.81 kB / 399.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.1131, allocations: 24 kB / 399.6 MB, free: 10 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004539/0.1136, allocations: 0.5487 MB / 400.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1136, allocations: 0 / 400.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001624/0.1152, allocations: 0.7045 MB / 400.9 MB, free: 8.746 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.0002389/0.1154, allocations: 132 kB / 401 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1166, allocations: 1.101 MB / 402.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.27e-05/0.1167, allocations: 47.94 kB / 402.2 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1168, allocations: 159 kB / 402.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.1174, allocations: 191 kB / 402.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/0.123, allocations: 4.467 MB / 407 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.1236, allocations: 0.7541 MB / 407.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.1242, allocations: 246.6 kB / 408 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.1245, allocations: 271.2 kB / 408.2 MB, free: 1.227 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1245, allocations: 0 / 408.2 MB, free: 1.227 MB / 378.7 MB Notification: Performance of Templates: time 0.02245/0.1469, allocations: 12.47 MB / 420.7 MB, free: 4.914 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.2491523269563913]