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.001175/0.001175, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001262/0.001262, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 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.9278/0.9278, allocations: 158.6 MB / 185.7 MB, free: 2.527 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.1252/0.1252, allocations: 32.38 MB / 270.4 MB, free: 14.67 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.383e-06/1.383e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.171e-05, allocations: 9.344 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01055/0.01057, allocations: 16.37 MB / 364 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009514/0.02009, allocations: 5.245 MB / 369.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.02189, allocations: 147.3 kB / 369.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007765/0.02965, allocations: 6.542 MB / 376 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005839/0.03549, allocations: 3.285 MB / 379.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.03815, allocations: 1.797 MB / 381.1 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009139/0.04729, allocations: 9.428 MB / 390.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007115/0.0544, allocations: 6.901 MB / 397.4 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006494/0.06089, allocations: 4.896 MB / 402.3 MB, free: 2.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005924/0.06682, allocations: 4.887 MB / 407.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.06824, allocations: 0.6562 MB / 407.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.07088, allocations: 1.459 MB / 409.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003261/0.07414, allocations: 4.243 MB / 413.5 MB, free: 7.309 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00341/0.07755, allocations: 2.555 MB / 416.1 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007581/0.08513, allocations: 8.504 MB / 424.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.08513, allocations: 0 / 424.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.08513, allocations: 0 / 424.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003506/0.08548, allocations: 0 / 424.6 MB, free: 12.21 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.01135/0.09683, allocations: 10.15 MB / 434.7 MB, free: 1.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.09687, allocations: 8.031 kB / 434.7 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2675/0.3644, allocations: 3.653 MB / 438.4 MB, free: 83.71 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.3713, allocations: 4.466 MB / 442.9 MB, free: 83.3 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.3716, allocations: 456.8 kB / 443.3 MB, free: 83.29 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007375/0.3723, allocations: 0.5873 MB / 443.9 MB, free: 83.29 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.3872, allocations: 11.32 MB / 455.2 MB, free: 75.37 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.3873, allocations: 67.44 kB / 455.3 MB, free: 75.3 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005298/0.3879, allocations: 286.8 kB / 455.6 MB, free: 75.09 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003172/0.391, allocations: 3.447 MB / 459 MB, free: 71.66 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.403, allocations: 5.825 MB / 464.8 MB, free: 65.89 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04407/0.4471, allocations: 77.7 MB / 0.5298 GB, free: 2.707 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008255/0.4553, allocations: 3.981 MB / 0.5337 GB, free: 14.68 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.4565, allocations: 0.9166 MB / 0.5346 GB, free: 13.74 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009343/0.4659, allocations: 6.746 MB / 0.5412 GB, free: 7.246 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.4659, allocations: 62.67 kB / 0.5412 GB, free: 7.18 MB / 394.8 MB Notification: Performance of pre-optimization done (n=238): time 3.907e-06/0.4659, allocations: 0 / 0.5412 GB, free: 7.18 MB / 394.8 MB Notification: Performance of matching and sorting (n=262): time 0.0242/0.4901, allocations: 14.47 MB / 0.5554 GB, free: 8.906 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.4902, allocations: 158.5 kB / 0.5555 GB, free: 8.723 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/0.4959, allocations: 5.796 MB / 0.5612 GB, free: 2.906 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.496, allocations: 64.36 kB / 0.5612 GB, free: 2.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002995/0.499, allocations: 5.989 MB / 0.5671 GB, free: 12.88 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007079/0.4997, allocations: 1.076 MB / 0.5681 GB, free: 11.81 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/0.5013, allocations: 1.979 MB / 0.5701 GB, free: 9.82 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5014, allocations: 480.7 kB / 0.5705 GB, free: 9.348 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.5029, allocations: 0.9081 MB / 0.5714 GB, free: 8.434 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.508, allocations: 9.352 MB / 0.5806 GB, free: 11.2 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1854/0.6934, allocations: 11.35 MB / 0.5916 GB, free: 127.6 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002292/0.6936, allocations: 58.84 kB / 0.5917 GB, free: 127.6 MB / 442.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.0121/0.7057, allocations: 7.756 MB / 0.5993 GB, free: 126.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/0.7058, allocations: 92.77 kB / 0.5994 GB, free: 126.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/0.706, allocations: 204.3 kB / 0.5996 GB, free: 126.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.7062, allocations: 269.9 kB / 0.5998 GB, free: 126.4 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/0.7101, allocations: 2.144 MB / 0.6019 GB, free: 126.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002997/0.7104, allocations: 409.9 kB / 0.6023 GB, free: 126.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004817/0.7152, allocations: 0.6842 MB / 0.603 GB, free: 126.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006/0.7158, allocations: 0.5548 MB / 0.6035 GB, free: 126.1 MB / 442.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.002314/0.7181, allocations: 0.9286 MB / 0.6044 GB, free: 125.7 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/0.719, allocations: 0.6184 MB / 0.605 GB, free: 125.7 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.7208, allocations: 1.615 MB / 0.6066 GB, free: 125.6 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/0.7209, allocations: 34.91 kB / 0.6066 GB, free: 125.6 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.7209, allocations: 0.875 kB / 0.6066 GB, free: 125.6 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.7209, allocations: 13.02 kB / 0.6066 GB, free: 125.6 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.7346, allocations: 12.01 MB / 0.6184 GB, free: 120.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/0.7346, allocations: 52 kB / 0.6184 GB, free: 120.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/0.7356, allocations: 0.521 MB / 0.6189 GB, free: 119.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.302e-05/0.7356, allocations: 72 kB / 0.619 GB, free: 119.8 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.7357, allocations: 114.6 kB / 0.6191 GB, free: 119.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.076e-05/0.7358, allocations: 102.5 kB / 0.6192 GB, free: 119.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.546e-05/0.7358, allocations: 87.56 kB / 0.6193 GB, free: 119.5 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.7391, allocations: 4.858 MB / 0.624 GB, free: 114.4 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/0.7398, allocations: 0.6501 MB / 0.6247 GB, free: 114 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/0.7401, allocations: 127.4 kB / 0.6248 GB, free: 113.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.7416, allocations: 282.1 kB / 0.6251 GB, free: 113.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.7418, allocations: 370 kB / 0.6254 GB, free: 113.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.742, allocations: 150.5 kB / 0.6256 GB, free: 113.4 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002487/0.7445, allocations: 2.54 MB / 0.628 GB, free: 111.8 MB / 442.8 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7445, allocations: 0 / 0.628 GB, free: 111.8 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00619/0.7506, allocations: 1.697 MB / 0.6297 GB, free: 110.1 MB / 442.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.0004854/0.7511, allocations: 313.2 kB / 0.63 GB, free: 109.9 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005577/0.7567, allocations: 4.092 MB / 0.634 GB, free: 106.2 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/0.7567, allocations: 8 kB / 0.634 GB, free: 106.2 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.7576, allocations: 0.8525 MB / 0.6348 GB, free: 105.5 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/0.7607, allocations: 0.8582 MB / 0.6357 GB, free: 104.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.777, allocations: 15.48 MB / 0.6508 GB, free: 89.33 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/0.7789, allocations: 2.342 MB / 0.6531 GB, free: 87.08 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003663/0.7825, allocations: 2.387 MB / 0.6554 GB, free: 84.7 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006726/0.7832, allocations: 388.4 kB / 0.6558 GB, free: 84.32 MB / 442.8 MB Notification: Performance of SimCode: time 2.355e-06/0.7832, allocations: 4 kB / 0.6558 GB, free: 84.32 MB / 442.8 MB Notification: Performance of Templates: time 0.06638/0.8496, allocations: 39.55 MB / 0.6944 GB, free: 44.99 MB / 442.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.006176813971251]