Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001676/0.001676, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002114/0.002114, allocations: 216.7 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.691/1.691, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2355/0.2355, allocations: 44.26 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 79.89 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1482, allocations: 61.03 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01408/0.1623, allocations: 9.284 MB / 0.5257 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008403/0.1707, allocations: 2.859 MB / 0.5285 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.1728, allocations: 59.81 kB / 0.5285 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004583/0.1773, allocations: 1.951 MB / 0.5304 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.1811, allocations: 1.222 MB / 0.5316 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1821, allocations: 287.4 kB / 0.5319 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004284/0.1864, allocations: 2.454 MB / 0.5343 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.1896, allocations: 1.82 MB / 0.5361 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.1917, allocations: 0.9579 MB / 0.537 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.194, allocations: 1.285 MB / 0.5383 GB, free: 400 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006068/0.1947, allocations: 215.9 kB / 0.5385 GB, free: 184 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2882/0.4829, allocations: 0.6136 MB / 0.5391 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.4849, allocations: 1.249 MB / 0.5403 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.4864, allocations: 1.037 MB / 0.5413 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006731/0.4931, allocations: 4.734 MB / 0.5459 GB, free: 12.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4931, allocations: 5.609 kB / 0.5459 GB, free: 12.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4931, allocations: 0 / 0.5459 GB, free: 12.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.4933, allocations: 1.438 kB / 0.5459 GB, free: 12.44 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007801/0.5011, allocations: 3.081 MB / 0.549 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5011, allocations: 9.594 kB / 0.549 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006106/0.5072, allocations: 1.627 MB / 0.5506 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.5123, allocations: 1.354 MB / 0.5519 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.5125, allocations: 156.3 kB / 0.552 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009665/0.5135, allocations: 198.2 kB / 0.5522 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.5272, allocations: 6.786 MB / 0.5588 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.028e-05/0.5273, allocations: 13.34 kB / 0.5589 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/0.5275, allocations: 93.48 kB / 0.5589 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.5304, allocations: 1.473 MB / 0.5604 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.5438, allocations: 5.801 MB / 0.566 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.5773, allocations: 19.53 MB / 0.5851 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/0.5818, allocations: 1.721 MB / 0.5868 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.5829, allocations: 0.7181 MB / 0.5875 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006673/0.5896, allocations: 3.116 MB / 0.5905 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.5896, allocations: 40.97 kB / 0.5906 GB, free: 5.312 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 4.879e-06/0.5896, allocations: 0 / 0.5906 GB, free: 5.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.00616/0.5958, allocations: 2.192 MB / 0.5927 GB, free: 3.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.5958, allocations: 60.81 kB / 0.5928 GB, free: 3.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.5993, allocations: 2.016 MB / 0.5948 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-05/0.5994, allocations: 34.39 kB / 0.5948 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.6013, allocations: 2.046 MB / 0.5968 GB, free: 15.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000486/0.6017, allocations: 379.9 kB / 0.5971 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.6028, allocations: 0.6653 MB / 0.5978 GB, free: 14.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.6031, allocations: 349.9 kB / 0.5981 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.6048, allocations: 0.9627 MB / 0.5991 GB, free: 12.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.608, allocations: 2.925 MB / 0.6019 GB, free: 8.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006413/0.6145, allocations: 4.241 MB / 0.6061 GB, free: 4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.718e-05/0.6145, allocations: 20 kB / 0.6061 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007379/0.6219, allocations: 3.779 MB / 0.6098 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/0.622, allocations: 36 kB / 0.6098 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.416e-05/0.6221, allocations: 75.88 kB / 0.6099 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.6222, allocations: 95.94 kB / 0.61 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.6244, allocations: 0.7096 MB / 0.6107 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000131/0.6245, allocations: 143.2 kB / 0.6108 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.627, allocations: 449.1 kB / 0.6112 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/0.6272, allocations: 194 kB / 0.6114 GB, free: 14.86 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.003018/0.6302, allocations: 1.428 MB / 0.6128 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.6306, allocations: 166.9 kB / 0.613 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.6326, allocations: 1.186 MB / 0.6141 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.6326, allocations: 12 kB / 0.6141 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6327, allocations: 3.938 kB / 0.6141 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6327, allocations: 3.984 kB / 0.6141 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.6405, allocations: 3.937 MB / 0.618 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.6405, allocations: 8 kB / 0.618 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.6411, allocations: 136.5 kB / 0.6181 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.6411, allocations: 12 kB / 0.6181 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.6412, allocations: 28 kB / 0.6182 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.926e-05/0.6412, allocations: 19.92 kB / 0.6182 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/0.6412, allocations: 15.88 kB / 0.6182 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.6433, allocations: 1.492 MB / 0.6197 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.6438, allocations: 178.6 kB / 0.6198 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.644, allocations: 20 kB / 0.6199 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.6445, allocations: 35.97 kB / 0.6199 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.6446, allocations: 75.66 kB / 0.62 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.6447, allocations: 39.94 kB / 0.62 GB, free: 5.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001833/0.6466, allocations: 1.155 MB / 0.6211 GB, free: 4.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6466, allocations: 0 / 0.6211 GB, free: 4.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003289/0.6498, allocations: 0.7848 MB / 0.6219 GB, free: 3.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003948/0.6502, allocations: 153.1 kB / 0.622 GB, free: 3.684 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003897/0.6541, allocations: 2.155 MB / 0.6241 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.6541, allocations: 0 / 0.6241 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007849/0.6549, allocations: 0.5094 MB / 0.6246 GB, free: 1.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.6562, allocations: 202.4 kB / 0.6248 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.6673, allocations: 5.607 MB / 0.6303 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.6701, allocations: 1.847 MB / 0.6321 GB, free: 9.234 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002401/0.6725, allocations: 0.984 MB / 0.6331 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.6728, allocations: 123.4 kB / 0.6332 GB, free: 8.129 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6728, allocations: 0 / 0.6332 GB, free: 8.129 MB / 478.1 MB Notification: Performance of Templates: time 0.03508/0.7079, allocations: 15.44 MB / 0.6483 GB, free: 8.773 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.40063844807446]