Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.001546/0.001546, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001036/0.001036, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9166/0.9166, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1471/0.1471, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.075e-05, allocations: 12.22 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01156/0.01159, allocations: 16.31 MB / 364 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02179, allocations: 5.229 MB / 369.2 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.02464, allocations: 151.3 kB / 369.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008116/0.03276, allocations: 6.522 MB / 375.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008543/0.0413, allocations: 3.281 MB / 379.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.0451, allocations: 1.801 MB / 381 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.05677, allocations: 9.418 MB / 390.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.06696, allocations: 6.901 MB / 397.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.07839, allocations: 4.892 MB / 402.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00738/0.08577, allocations: 4.887 MB / 407.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.08795, allocations: 0.6562 MB / 407.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.09133, allocations: 1.451 MB / 409.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005254/0.09659, allocations: 4.247 MB / 413.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004826/0.1014, allocations: 2.551 MB / 416 MB, free: 5.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.113, allocations: 8.507 MB / 424.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.113, allocations: 0 / 424.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.113, allocations: 0 / 424.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005987/0.1136, allocations: 0 / 424.5 MB, free: 12.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01703/0.1306, allocations: 10.15 MB / 434.6 MB, free: 2.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1307, allocations: 11.97 kB / 434.6 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2836/0.4143, allocations: 3.649 MB / 438.3 MB, free: 62.29 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007209/0.4215, allocations: 4.408 MB / 442.7 MB, free: 61.88 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000504/0.422, allocations: 455.6 kB / 443.1 MB, free: 61.87 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.4238, allocations: 0.5925 MB / 443.7 MB, free: 61.86 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/0.4414, allocations: 11.31 MB / 455 MB, free: 57.15 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/0.4415, allocations: 67.86 kB / 455.1 MB, free: 57.14 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000477/0.442, allocations: 289.3 kB / 455.4 MB, free: 57.14 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003011/0.445, allocations: 3.443 MB / 458.8 MB, free: 57.13 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.4599, allocations: 5.836 MB / 464.7 MB, free: 53.89 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06447/0.5244, allocations: 77.69 MB / 0.5296 GB, free: 7.473 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.5347, allocations: 3.983 MB / 0.5335 GB, free: 3.453 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.5365, allocations: 0.9126 MB / 0.5344 GB, free: 2.531 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/0.5492, allocations: 6.753 MB / 0.541 GB, free: 12.03 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.5493, allocations: 59.39 kB / 0.5411 GB, free: 11.96 MB / 410.8 MB Notification: Performance of pre-optimization done (n=238): time 5.711e-06/0.5493, allocations: 3.844 kB / 0.5411 GB, free: 11.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=262): time 0.02928/0.5786, allocations: 14.47 MB / 0.5552 GB, free: 13.76 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.5787, allocations: 157.7 kB / 0.5554 GB, free: 13.58 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006395/0.585, allocations: 5.792 MB / 0.561 GB, free: 7.773 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003566/0.5854, allocations: 73.61 kB / 0.5611 GB, free: 7.699 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00319/0.5886, allocations: 5.991 MB / 0.5669 GB, free: 1.75 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009047/0.5895, allocations: 1.074 MB / 0.568 GB, free: 0.6875 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/0.5911, allocations: 1.98 MB / 0.5699 GB, free: 14.7 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5912, allocations: 476.8 kB / 0.5704 GB, free: 14.23 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.5928, allocations: 0.9042 MB / 0.5713 GB, free: 13.32 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005933/0.5987, allocations: 9.354 MB / 0.5804 GB, free: 172 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.6089, allocations: 11.35 MB / 0.5915 GB, free: 1.016 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000227/0.6091, allocations: 60 kB / 0.5915 GB, free: 0.957 MB / 458.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.1896/0.7988, allocations: 7.748 MB / 0.5991 GB, free: 126.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.7989, allocations: 92.16 kB / 0.5992 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003167/0.7993, allocations: 202.2 kB / 0.5994 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/0.7996, allocations: 268 kB / 0.5996 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/0.8049, allocations: 2.146 MB / 0.6017 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/0.8052, allocations: 399.7 kB / 0.6021 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/0.8114, allocations: 0.6959 MB / 0.6028 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.8125, allocations: 0.5557 MB / 0.6033 GB, free: 126.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.002892/0.8154, allocations: 0.9267 MB / 0.6042 GB, free: 125.8 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.8165, allocations: 0.6159 MB / 0.6048 GB, free: 125.8 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.8188, allocations: 1.617 MB / 0.6064 GB, free: 125.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.8188, allocations: 28.09 kB / 0.6064 GB, free: 125.7 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.8188, allocations: 1.938 kB / 0.6064 GB, free: 125.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.8188, allocations: 11.16 kB / 0.6065 GB, free: 125.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.8362, allocations: 12.02 MB / 0.6182 GB, free: 122 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-05/0.8362, allocations: 53.72 kB / 0.6182 GB, free: 122 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.8374, allocations: 0.5174 MB / 0.6187 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-05/0.8374, allocations: 71.94 kB / 0.6188 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.8375, allocations: 115 kB / 0.6189 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-05/0.8376, allocations: 108.5 kB / 0.619 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-05/0.8376, allocations: 88 kB / 0.6191 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.8413, allocations: 4.861 MB / 0.6239 GB, free: 118 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.8424, allocations: 0.6503 MB / 0.6245 GB, free: 117.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/0.8429, allocations: 120.5 kB / 0.6246 GB, free: 117.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.8446, allocations: 282.1 kB / 0.6249 GB, free: 117.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.845, allocations: 370.8 kB / 0.6252 GB, free: 117.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.8451, allocations: 150.4 kB / 0.6254 GB, free: 117.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003535/0.8486, allocations: 2.542 MB / 0.6279 GB, free: 116.8 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8486, allocations: 0 / 0.6279 GB, free: 116.8 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00771/0.8564, allocations: 1.698 MB / 0.6295 GB, free: 115.3 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0007178/0.8571, allocations: 316.7 kB / 0.6298 GB, free: 115 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006557/0.8636, allocations: 4.096 MB / 0.6338 GB, free: 112 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.486e-05/0.8637, allocations: 8 kB / 0.6338 GB, free: 112 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.8651, allocations: 0.8593 MB / 0.6347 GB, free: 111.3 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004521/0.8696, allocations: 0.8493 MB / 0.6355 GB, free: 110.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.8904, allocations: 15.48 MB / 0.6506 GB, free: 96.63 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/0.8934, allocations: 2.346 MB / 0.6529 GB, free: 95.02 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005251/0.8986, allocations: 2.396 MB / 0.6552 GB, free: 93.63 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009948/0.8996, allocations: 386.8 kB / 0.6556 GB, free: 93.27 MB / 458.8 MB Notification: Performance of SimCode: time 2.725e-06/0.8996, allocations: 0 / 0.6556 GB, free: 93.27 MB / 458.8 MB Notification: Performance of Templates: time 0.06704/0.9667, allocations: 37.86 MB / 0.6926 GB, free: 56.2 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.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: 5.197064765961841]