Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001439/0.001439, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002578/0.002578, allocations: 216 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.249/0.249, allocations: 46.94 MB / 360.8 MB, free: 4.254 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.4966 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 66.03 MB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01284/0.3748, allocations: 9.587 MB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006655/0.3814, allocations: 2.959 MB / 0.5734 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.3829, allocations: 55.81 kB / 0.5734 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004081/0.387, allocations: 2.033 MB / 0.5754 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.3903, allocations: 1.137 MB / 0.5765 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.3912, allocations: 279.4 kB / 0.5768 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003592/0.3948, allocations: 2.341 MB / 0.5791 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.397, allocations: 1.738 MB / 0.5808 GB, free: 140 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.3984, allocations: 0.8878 MB / 0.5816 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.4005, allocations: 1.258 MB / 0.5829 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.4008, allocations: 196 kB / 0.5831 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.4023, allocations: 0.7216 MB / 0.5838 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.4035, allocations: 1.145 MB / 0.5849 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.4049, allocations: 1.301 MB / 0.5861 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005875/0.4107, allocations: 4.344 MB / 0.5904 GB, free: 6.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4107, allocations: 0 / 0.5904 GB, free: 6.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4107, allocations: 0 / 0.5904 GB, free: 6.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001291/0.4109, allocations: 0 / 0.5904 GB, free: 6.254 MB / 430.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.00583/0.4167, allocations: 2.862 MB / 0.5932 GB, free: 3.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4168, allocations: 8.031 kB / 0.5932 GB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.4218, allocations: 1.578 MB / 0.5947 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.4252, allocations: 1.279 MB / 0.596 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4253, allocations: 144 kB / 0.5961 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.4257, allocations: 191.8 kB / 0.5963 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.4357, allocations: 6.242 MB / 0.6024 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/0.4358, allocations: 11.88 kB / 0.6024 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.436, allocations: 87.91 kB / 0.6025 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002174/0.4382, allocations: 1.34 MB / 0.6038 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.4482, allocations: 5.342 MB / 0.609 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.477, allocations: 19.99 MB / 0.6285 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/0.4811, allocations: 1.486 MB / 0.63 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009445/0.482, allocations: 0.6368 MB / 0.6306 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006696/0.4887, allocations: 3.16 MB / 0.6337 GB, free: 8.898 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4888, allocations: 35 kB / 0.6337 GB, free: 8.855 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.604e-06/0.4888, allocations: 0 / 0.6337 GB, free: 8.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005524/0.4943, allocations: 1.998 MB / 0.6357 GB, free: 6.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.4943, allocations: 59.78 kB / 0.6357 GB, free: 6.777 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.4975, allocations: 1.938 MB / 0.6376 GB, free: 4.836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.4975, allocations: 33.7 kB / 0.6377 GB, free: 4.797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.4991, allocations: 1.915 MB / 0.6395 GB, free: 2.859 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.4995, allocations: 329.5 kB / 0.6399 GB, free: 2.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008799/0.5003, allocations: 0.6234 MB / 0.6405 GB, free: 1.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.5005, allocations: 353.9 kB / 0.6408 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.5019, allocations: 0.8842 MB / 0.6417 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.5048, allocations: 2.751 MB / 0.6444 GB, free: 12.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004883/0.5097, allocations: 3.981 MB / 0.6482 GB, free: 8.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-05/0.5097, allocations: 16 kB / 0.6483 GB, free: 8.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005767/0.5155, allocations: 3.528 MB / 0.6517 GB, free: 4.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.5155, allocations: 36.06 kB / 0.6517 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.79e-05/0.5156, allocations: 68 kB / 0.6518 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.5157, allocations: 87.94 kB / 0.6519 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.5176, allocations: 0.6589 MB / 0.6525 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/0.5177, allocations: 123.5 kB / 0.6526 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.5197, allocations: 428.8 kB / 0.6531 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.5199, allocations: 188 kB / 0.6532 GB, free: 2.953 MB / 494.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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.002039/0.522, allocations: 1.354 MB / 0.6546 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.5222, allocations: 162.9 kB / 0.6547 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.5225, allocations: 192.9 kB / 0.6549 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.5226, allocations: 11.94 kB / 0.6549 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5226, allocations: 0 / 0.6549 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.5226, allocations: 3.984 kB / 0.6549 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.5293, allocations: 4 MB / 0.6588 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.5293, allocations: 11.94 kB / 0.6588 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.5297, allocations: 99.83 kB / 0.6589 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.5297, allocations: 15.98 kB / 0.6589 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.5298, allocations: 20.59 kB / 0.659 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.5298, allocations: 11.94 kB / 0.659 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5298, allocations: 12 kB / 0.659 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.5313, allocations: 1.27 MB / 0.6602 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.5318, allocations: 174.7 kB / 0.6604 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5319, allocations: 19.98 kB / 0.6604 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.5324, allocations: 31.94 kB / 0.6604 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5325, allocations: 55.8 kB / 0.6605 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.5326, allocations: 28 kB / 0.6605 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001765/0.5343, allocations: 1.275 MB / 0.6618 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5343, allocations: 0 / 0.6618 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002523/0.5368, allocations: 0.6967 MB / 0.6624 GB, free: 9.266 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003212/0.5372, allocations: 139 kB / 0.6626 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003007/0.5402, allocations: 1.955 MB / 0.6645 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.5402, allocations: 4 kB / 0.6645 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.5408, allocations: 439 kB / 0.6649 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5419, allocations: 246.4 kB / 0.6651 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/0.55, allocations: 5.126 MB / 0.6701 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/0.5524, allocations: 2.271 MB / 0.6724 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002042/0.5545, allocations: 0.9597 MB / 0.6733 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.5547, allocations: 119.4 kB / 0.6734 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.5547, allocations: 0 / 0.6734 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.0352/0.5899, allocations: 17.15 MB / 0.6902 GB, free: 12.77 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 5.995526420883834]