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.00162/0.00162, allocations: 112.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.001745/0.001745, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.611/1.611, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.2543/0.2543, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.002234/0.002234, allocations: 83.86 kB / 0.4924 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.153, allocations: 65.97 MB / 0.5568 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01267/0.1657, allocations: 9.57 MB / 0.5661 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.1727, allocations: 2.94 MB / 0.569 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1738, allocations: 51.88 kB / 0.5691 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.1777, allocations: 2.021 MB / 0.571 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.1806, allocations: 1.125 MB / 0.5721 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.1814, allocations: 291.4 kB / 0.5724 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00353/0.1849, allocations: 2.341 MB / 0.5747 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.1874, allocations: 1.907 MB / 0.5765 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.1887, allocations: 0.8761 MB / 0.5774 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.1904, allocations: 1.25 MB / 0.5786 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.1907, allocations: 200 kB / 0.5788 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.1921, allocations: 0.7254 MB / 0.5795 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1933, allocations: 1.137 MB / 0.5806 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.1947, allocations: 1.301 MB / 0.5819 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005135/0.1998, allocations: 4.342 MB / 0.5861 GB, free: 7.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1998, allocations: 0 / 0.5861 GB, free: 7.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1998, allocations: 0 / 0.5861 GB, free: 7.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.546e-05/0.1999, allocations: 0 / 0.5861 GB, free: 7.734 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.005477/0.2054, allocations: 2.942 MB / 0.589 GB, free: 4.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2054, allocations: 8.031 kB / 0.589 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005323/0.2107, allocations: 1.586 MB / 0.5906 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.2133, allocations: 1.332 MB / 0.5919 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.2134, allocations: 152 kB / 0.592 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.2137, allocations: 187.8 kB / 0.5922 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3155/0.5293, allocations: 6.25 MB / 0.5983 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.5293, allocations: 12.41 kB / 0.5983 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.5296, allocations: 84.78 kB / 0.5984 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002537/0.5321, allocations: 1.343 MB / 0.5997 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.5435, allocations: 5.33 MB / 0.6049 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.573, allocations: 20.04 MB / 0.6245 GB, free: 17.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.577, allocations: 2.004 MB / 0.6264 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/0.5777, allocations: 0.6394 MB / 0.6271 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005113/0.5828, allocations: 3.5 MB / 0.6305 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5828, allocations: 38.84 kB / 0.6305 GB, free: 13.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.316e-06/0.5828, allocations: 0 / 0.6305 GB, free: 13.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004765/0.5876, allocations: 1.984 MB / 0.6325 GB, free: 12.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5876, allocations: 55.84 kB / 0.6325 GB, free: 12.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.5902, allocations: 1.941 MB / 0.6344 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.5902, allocations: 35.67 kB / 0.6344 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.5914, allocations: 1.909 MB / 0.6363 GB, free: 8.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.5917, allocations: 326.5 kB / 0.6366 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007431/0.5924, allocations: 0.6261 MB / 0.6372 GB, free: 7.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5925, allocations: 361.9 kB / 0.6376 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.5935, allocations: 0.8859 MB / 0.6384 GB, free: 6.156 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.5955, allocations: 2.751 MB / 0.6411 GB, free: 2.473 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/0.5999, allocations: 3.972 MB / 0.645 GB, free: 13.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-05/0.6, allocations: 16 kB / 0.645 GB, free: 13.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006057/0.606, allocations: 3.534 MB / 0.6485 GB, free: 10.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.6061, allocations: 32 kB / 0.6485 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.257e-05/0.6061, allocations: 68 kB / 0.6486 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.6063, allocations: 88.72 kB / 0.6486 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.6082, allocations: 0.6589 MB / 0.6493 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.6083, allocations: 134.7 kB / 0.6494 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.6104, allocations: 424.8 kB / 0.6498 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.6107, allocations: 189.5 kB / 0.65 GB, free: 8.445 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.002362/0.6131, allocations: 1.343 MB / 0.6513 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.6134, allocations: 170.9 kB / 0.6515 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.6138, allocations: 196.9 kB / 0.6517 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.6138, allocations: 8 kB / 0.6517 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6139, allocations: 0 / 0.6517 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6139, allocations: 4.484 kB / 0.6517 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007336/0.6212, allocations: 4.077 MB / 0.6557 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.6212, allocations: 4 kB / 0.6557 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.6216, allocations: 107.4 kB / 0.6558 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.6216, allocations: 8 kB / 0.6558 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.6217, allocations: 23.94 kB / 0.6558 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/0.6217, allocations: 11.94 kB / 0.6558 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.6217, allocations: 4 kB / 0.6558 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.6234, allocations: 1.247 MB / 0.657 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.6238, allocations: 247.7 kB / 0.6573 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.624, allocations: 27.91 kB / 0.6573 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.6245, allocations: 27.98 kB / 0.6573 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6246, allocations: 47.83 kB / 0.6574 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.6246, allocations: 31.98 kB / 0.6574 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001976/0.6266, allocations: 1.271 MB / 0.6586 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6266, allocations: 0 / 0.6586 GB, free: 15.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002748/0.6294, allocations: 0.6852 MB / 0.6593 GB, free: 14.66 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.0003754/0.6297, allocations: 147 kB / 0.6594 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.6331, allocations: 1.957 MB / 0.6614 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6331, allocations: 4 kB / 0.6614 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.6337, allocations: 434 kB / 0.6618 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.635, allocations: 228.3 kB / 0.662 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00996/0.645, allocations: 5.398 MB / 0.6673 GB, free: 6.398 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/0.6477, allocations: 2.279 MB / 0.6695 GB, free: 4.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.6482, allocations: 143.4 kB / 0.6696 GB, free: 3.953 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6482, allocations: 0 / 0.6696 GB, free: 3.953 MB / 478.1 MB Notification: Performance of Templates: time 0.05564/0.7039, allocations: 30.28 MB / 0.6992 GB, free: 5.734 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.968953639967367]