Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2341/0.2341, allocations: 46.92 MB / 358.2 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 87.84 kB / 0.4925 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1519, allocations: 66 MB / 0.557 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01177/0.1637, allocations: 9.567 MB / 0.5663 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.1701, allocations: 2.94 MB / 0.5692 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1712, allocations: 55.81 kB / 0.5692 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.1751, allocations: 2.021 MB / 0.5712 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.178, allocations: 1.129 MB / 0.5723 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.1788, allocations: 283.4 kB / 0.5726 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.1822, allocations: 2.333 MB / 0.5748 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.1846, allocations: 1.914 MB / 0.5767 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1858, allocations: 0.8917 MB / 0.5776 GB, free: 264 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.1875, allocations: 1.25 MB / 0.5788 GB, free: 15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.1879, allocations: 192 kB / 0.579 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.1892, allocations: 0.7293 MB / 0.5797 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.1903, allocations: 1.133 MB / 0.5808 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.1918, allocations: 1.312 MB / 0.5821 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.1972, allocations: 4.334 MB / 0.5863 GB, free: 7.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1972, allocations: 0 / 0.5863 GB, free: 7.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1972, allocations: 0 / 0.5863 GB, free: 7.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.591e-05/0.1973, allocations: 0 / 0.5863 GB, free: 7.277 MB / 446.1 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.005691/0.203, allocations: 2.942 MB / 0.5892 GB, free: 4.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.203, allocations: 12.03 kB / 0.5892 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005497/0.2085, allocations: 1.578 MB / 0.5908 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.2115, allocations: 1.34 MB / 0.5921 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.2116, allocations: 148 kB / 0.5922 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.212, allocations: 191.8 kB / 0.5924 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3009/0.5129, allocations: 6.247 MB / 0.5985 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.513, allocations: 14.64 kB / 0.5985 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.5133, allocations: 89.89 kB / 0.5986 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002609/0.5159, allocations: 1.338 MB / 0.5999 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.5277, allocations: 5.331 MB / 0.6051 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02749/0.5552, allocations: 20.04 MB / 0.6247 GB, free: 17.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.5593, allocations: 2.008 MB / 0.6266 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/0.56, allocations: 0.6402 MB / 0.6273 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005225/0.5653, allocations: 3.497 MB / 0.6307 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.5653, allocations: 42.94 kB / 0.6307 GB, free: 13.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.996e-06/0.5653, allocations: 0 / 0.6307 GB, free: 13.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004749/0.57, allocations: 1.978 MB / 0.6326 GB, free: 11.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.5701, allocations: 58.73 kB / 0.6327 GB, free: 11.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.5721, allocations: 1.936 MB / 0.6346 GB, free: 9.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.5722, allocations: 43.66 kB / 0.6346 GB, free: 9.355 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007947/0.573, allocations: 1.911 MB / 0.6365 GB, free: 7.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.5732, allocations: 328.4 kB / 0.6368 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/0.5738, allocations: 0.6181 MB / 0.6374 GB, free: 6.629 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.5739, allocations: 357.9 kB / 0.6377 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009521/0.5748, allocations: 0.8842 MB / 0.6386 GB, free: 5.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.5764, allocations: 2.755 MB / 0.6413 GB, free: 1.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.5808, allocations: 3.975 MB / 0.6452 GB, free: 12.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-05/0.5808, allocations: 20 kB / 0.6452 GB, free: 12.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006708/0.5875, allocations: 3.531 MB / 0.6487 GB, free: 9.246 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.5876, allocations: 33.88 kB / 0.6487 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.409e-05/0.5877, allocations: 68 kB / 0.6488 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.884e-05/0.5878, allocations: 84 kB / 0.6488 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.5898, allocations: 0.6589 MB / 0.6495 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001132/0.59, allocations: 127.5 kB / 0.6496 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.592, allocations: 429 kB / 0.65 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/0.5923, allocations: 198.3 kB / 0.6502 GB, free: 7.668 MB / 462.1 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.002559/0.5949, allocations: 1.338 MB / 0.6515 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.5952, allocations: 162.9 kB / 0.6517 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.5956, allocations: 196.9 kB / 0.6518 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.5957, allocations: 11.28 kB / 0.6519 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.5957, allocations: 0 / 0.6519 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.5957, allocations: 7.984 kB / 0.6519 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007555/0.6032, allocations: 4.077 MB / 0.6558 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6033, allocations: 4 kB / 0.6558 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.6037, allocations: 103.8 kB / 0.6559 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.6037, allocations: 8.75 kB / 0.656 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.6038, allocations: 19.94 kB / 0.656 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/0.6038, allocations: 19.92 kB / 0.656 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.6038, allocations: 6.438 kB / 0.656 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.6056, allocations: 1.247 MB / 0.6572 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.6061, allocations: 256.1 kB / 0.6575 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.6062, allocations: 23.75 kB / 0.6575 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.6067, allocations: 23.97 kB / 0.6575 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.6068, allocations: 51.83 kB / 0.6576 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.954e-05/0.6069, allocations: 28 kB / 0.6576 GB, free: 15.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002007/0.6089, allocations: 1.267 MB / 0.6588 GB, free: 14.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6089, allocations: 0 / 0.6588 GB, free: 14.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002545/0.6114, allocations: 0.6968 MB / 0.6595 GB, free: 13.88 MB / 478.1 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.0003301/0.6118, allocations: 147 kB / 0.6596 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.6149, allocations: 1.953 MB / 0.6615 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6149, allocations: 4 kB / 0.6616 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006111/0.6156, allocations: 430.2 kB / 0.662 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.6168, allocations: 224.3 kB / 0.6622 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009718/0.6265, allocations: 5.398 MB / 0.6674 GB, free: 5.629 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.6293, allocations: 2.275 MB / 0.6697 GB, free: 3.324 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.6298, allocations: 143.4 kB / 0.6698 GB, free: 3.188 MB / 478.1 MB Notification: Performance of SimCode: time 2.064e-06/0.6298, allocations: 3.938 kB / 0.6698 GB, free: 3.184 MB / 478.1 MB Notification: Performance of Templates: time 0.0517/0.6815, allocations: 30.28 MB / 0.6994 GB, free: 4.973 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.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: 10.60304569399159]