Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.001646/0.001646, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002152/0.002152, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.606/1.606, allocations: 230.2 MB / 255.1 MB, free: 15.4 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.2409/0.2409, allocations: 46.89 MB / 358.1 MB, free: 10.51 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.CutForce2,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.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_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2") [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.00227/0.00227, allocations: 77.64 kB / 0.4923 GB, free: 26.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1529, allocations: 65.98 MB / 0.5568 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01287/0.1658, allocations: 9.562 MB / 0.5661 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008203/0.174, allocations: 2.944 MB / 0.569 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.1757, allocations: 47.94 kB / 0.569 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004088/0.1798, allocations: 2.021 MB / 0.571 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.1832, allocations: 1.133 MB / 0.5721 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.1841, allocations: 287.4 kB / 0.5724 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003869/0.188, allocations: 2.337 MB / 0.5747 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.1907, allocations: 1.911 MB / 0.5765 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.1923, allocations: 0.88 MB / 0.5774 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.1943, allocations: 1.25 MB / 0.5786 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000474/0.1947, allocations: 192 kB / 0.5788 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.1964, allocations: 0.7294 MB / 0.5795 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.1978, allocations: 1.137 MB / 0.5806 GB, free: 72 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.1995, allocations: 1.312 MB / 0.5819 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00559/0.2051, allocations: 4.33 MB / 0.5861 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.2051, allocations: 0 / 0.5861 GB, free: 10.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2051, allocations: 0 / 0.5861 GB, free: 10.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.2052, allocations: 0 / 0.5861 GB, free: 10.4 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.006497/0.2117, allocations: 2.946 MB / 0.589 GB, free: 7.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.2117, allocations: 8.031 kB / 0.589 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.2171, allocations: 1.574 MB / 0.5906 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.2202, allocations: 1.344 MB / 0.5919 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.2204, allocations: 144 kB / 0.592 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.2208, allocations: 195.8 kB / 0.5922 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.2317, allocations: 6.242 MB / 0.5983 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/0.2318, allocations: 19.81 kB / 0.5983 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.232, allocations: 87.91 kB / 0.5984 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/0.2342, allocations: 1.34 MB / 0.5997 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.2451, allocations: 5.331 MB / 0.6049 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3701/0.6151, allocations: 20.02 MB / 0.6245 GB, free: 35.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004755/0.6199, allocations: 2.014 MB / 0.6264 GB, free: 34.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.6209, allocations: 0.6373 MB / 0.6271 GB, free: 34.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006952/0.6279, allocations: 3.496 MB / 0.6305 GB, free: 32.37 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.6279, allocations: 44.69 kB / 0.6305 GB, free: 32.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.935e-06/0.6279, allocations: 0 / 0.6305 GB, free: 32.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005477/0.6334, allocations: 1.981 MB / 0.6324 GB, free: 31.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.6334, allocations: 58.09 kB / 0.6325 GB, free: 31.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.6364, allocations: 1.941 MB / 0.6344 GB, free: 31.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.6364, allocations: 39.12 kB / 0.6344 GB, free: 31.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009703/0.6374, allocations: 1.909 MB / 0.6363 GB, free: 29.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.6376, allocations: 324.2 kB / 0.6366 GB, free: 29.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/0.6383, allocations: 0.6317 MB / 0.6372 GB, free: 29.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.6384, allocations: 356.8 kB / 0.6376 GB, free: 28.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.6396, allocations: 0.8854 MB / 0.6384 GB, free: 28.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.6417, allocations: 2.755 MB / 0.6411 GB, free: 25.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003489/0.6452, allocations: 3.972 MB / 0.645 GB, free: 22.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.435e-05/0.6452, allocations: 23.22 kB / 0.645 GB, free: 22.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005744/0.651, allocations: 3.531 MB / 0.6485 GB, free: 21.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.651, allocations: 33 kB / 0.6485 GB, free: 21.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.6512, allocations: 66 kB / 0.6486 GB, free: 21.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.6513, allocations: 90.62 kB / 0.6487 GB, free: 21.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.6541, allocations: 0.6572 MB / 0.6493 GB, free: 20.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001279/0.6542, allocations: 128.5 kB / 0.6494 GB, free: 20.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.6574, allocations: 421.6 kB / 0.6498 GB, free: 20.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/0.6578, allocations: 191 kB / 0.65 GB, free: 20.65 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.003607/0.6614, allocations: 1.352 MB / 0.6513 GB, free: 19.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.6618, allocations: 168.1 kB / 0.6515 GB, free: 19.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.6623, allocations: 188.3 kB / 0.6517 GB, free: 19.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/0.6624, allocations: 11.94 kB / 0.6517 GB, free: 19.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.6624, allocations: 0 / 0.6517 GB, free: 19.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6624, allocations: 3.984 kB / 0.6517 GB, free: 19.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008195/0.6706, allocations: 4.077 MB / 0.6557 GB, free: 17.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.6706, allocations: 7.5 kB / 0.6557 GB, free: 17.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.6711, allocations: 101 kB / 0.6558 GB, free: 17.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.6712, allocations: 7.25 kB / 0.6558 GB, free: 17.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.6712, allocations: 14.56 kB / 0.6558 GB, free: 17.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.6712, allocations: 14.44 kB / 0.6558 GB, free: 17.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.6712, allocations: 10.88 kB / 0.6558 GB, free: 17.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.673, allocations: 1.247 MB / 0.657 GB, free: 16.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.6734, allocations: 254.6 kB / 0.6573 GB, free: 16.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.6737, allocations: 21.98 kB / 0.6573 GB, free: 16.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/0.6744, allocations: 29.19 kB / 0.6573 GB, free: 16.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6745, allocations: 53.88 kB / 0.6574 GB, free: 16.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/0.6746, allocations: 38.45 kB / 0.6574 GB, free: 16.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.6766, allocations: 1.267 MB / 0.6586 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6766, allocations: 4 kB / 0.6586 GB, free: 15.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004147/0.6808, allocations: 0.6776 MB / 0.6593 GB, free: 15.03 MB / 462.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.0003871/0.6812, allocations: 146.7 kB / 0.6594 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004435/0.6856, allocations: 1.955 MB / 0.6614 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/0.6856, allocations: 4.875 kB / 0.6614 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008339/0.6864, allocations: 428.9 kB / 0.6618 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.6885, allocations: 235.7 kB / 0.662 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.7011, allocations: 5.391 MB / 0.6673 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/0.704, allocations: 2.275 MB / 0.6695 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000721/0.7047, allocations: 143.4 kB / 0.6696 GB, free: 4.359 MB / 462.1 MB Notification: Performance of SimCode: time 1.683e-06/0.7047, allocations: 0 / 0.6696 GB, free: 4.359 MB / 462.1 MB Notification: Performance of Templates: time 0.08616/0.7909, allocations: 30.28 MB / 0.6992 GB, free: 6.148 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 11.152014014078304]