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.001701/0.001701, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002188/0.002188, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.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.2112/0.2112, allocations: 34.28 MB / 295.5 MB, free: 14.58 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.002093/0.002093, allocations: 63.89 kB / 443.1 MB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00807/0.3403, allocations: 8.415 MB / 0.5054 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.3453, allocations: 2.782 MB / 0.5081 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.3463, allocations: 56.69 kB / 0.5082 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.3493, allocations: 1.945 MB / 0.5101 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.3515, allocations: 1.132 MB / 0.5112 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.3521, allocations: 288.7 kB / 0.5115 GB, free: 21.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003186/0.3553, allocations: 2.321 MB / 0.5137 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.3574, allocations: 1.739 MB / 0.5154 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.3585, allocations: 0.8889 MB / 0.5163 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.3606, allocations: 1.172 MB / 0.5175 GB, free: 18.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000555/0.3611, allocations: 193.7 kB / 0.5176 GB, free: 18.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.3628, allocations: 0.6086 MB / 0.5182 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.3644, allocations: 1.137 MB / 0.5193 GB, free: 18.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.3654, allocations: 0.9453 MB / 0.5203 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005348/0.3708, allocations: 4.34 MB / 0.5245 GB, free: 15.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3708, allocations: 0.6562 kB / 0.5245 GB, free: 15.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3708, allocations: 1.094 kB / 0.5245 GB, free: 15.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.3709, allocations: 0 / 0.5245 GB, free: 15.99 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.005331/0.3762, allocations: 2.867 MB / 0.5273 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3763, allocations: 11.27 kB / 0.5273 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/0.3818, allocations: 1.594 MB / 0.5289 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.3846, allocations: 1.282 MB / 0.5301 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3847, allocations: 147.8 kB / 0.5303 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/0.3851, allocations: 193.1 kB / 0.5305 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.3952, allocations: 6.256 MB / 0.5366 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.3952, allocations: 13.19 kB / 0.5366 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.3954, allocations: 91.05 kB / 0.5367 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002035/0.3975, allocations: 1.341 MB / 0.538 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008987/0.4065, allocations: 5.334 MB / 0.5432 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0232/0.4297, allocations: 18.4 MB / 0.5612 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.4338, allocations: 1.571 MB / 0.5627 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.4347, allocations: 0.639 MB / 0.5633 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006311/0.441, allocations: 3.116 MB / 0.5664 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.4411, allocations: 43 kB / 0.5664 GB, free: 13.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.837e-06/0.4411, allocations: 0 / 0.5664 GB, free: 13.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005611/0.4467, allocations: 2.108 MB / 0.5685 GB, free: 11.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4467, allocations: 59.91 kB / 0.5685 GB, free: 11.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.4496, allocations: 1.935 MB / 0.5704 GB, free: 9.758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.4496, allocations: 37.7 kB / 0.5704 GB, free: 9.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.4512, allocations: 1.919 MB / 0.5723 GB, free: 7.773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.4515, allocations: 325.6 kB / 0.5726 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008571/0.4524, allocations: 0.6273 MB / 0.5732 GB, free: 6.816 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4525, allocations: 345.9 kB / 0.5736 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4539, allocations: 0.8842 MB / 0.5744 GB, free: 5.586 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00302/0.4569, allocations: 2.755 MB / 0.5771 GB, free: 1.898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004931/0.4619, allocations: 3.97 MB / 0.581 GB, free: 13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.935e-05/0.4619, allocations: 20 kB / 0.581 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006163/0.4681, allocations: 3.523 MB / 0.5845 GB, free: 9.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.4681, allocations: 32 kB / 0.5845 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.445e-05/0.4682, allocations: 68 kB / 0.5845 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/0.4683, allocations: 88 kB / 0.5846 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.4702, allocations: 0.655 MB / 0.5853 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001144/0.4703, allocations: 136.1 kB / 0.5854 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.4724, allocations: 417 kB / 0.5858 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.4727, allocations: 184 kB / 0.586 GB, free: 7.887 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.002381/0.4751, allocations: 1.346 MB / 0.5873 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.4754, allocations: 154.9 kB / 0.5874 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.4758, allocations: 188 kB / 0.5876 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/0.4758, allocations: 15.94 kB / 0.5876 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.4758, allocations: 3.938 kB / 0.5876 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4758, allocations: 7.984 kB / 0.5876 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/0.484, allocations: 3.082 MB / 0.5907 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.4841, allocations: 11.94 kB / 0.5907 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.4846, allocations: 95.89 kB / 0.5908 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/0.4847, allocations: 19.88 kB / 0.5908 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/0.4847, allocations: 20.7 kB / 0.5908 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.4847, allocations: 19.94 kB / 0.5908 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.4848, allocations: 7.938 kB / 0.5908 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.4872, allocations: 1.25 MB / 0.592 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.4877, allocations: 154.8 kB / 0.5922 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.4879, allocations: 19.94 kB / 0.5922 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/0.4887, allocations: 23.97 kB / 0.5922 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4888, allocations: 55.81 kB / 0.5923 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/0.4889, allocations: 35.98 kB / 0.5923 GB, free: 1.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002235/0.4911, allocations: 1.118 MB / 0.5934 GB, free: 40 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4911, allocations: 0 / 0.5934 GB, free: 40 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.004432/0.4956, allocations: 0.7007 MB / 0.5941 GB, free: 15.33 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.0004862/0.496, allocations: 142.8 kB / 0.5942 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004725/0.5008, allocations: 1.957 MB / 0.5961 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.5008, allocations: 0.5 kB / 0.5961 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/0.5015, allocations: 439.9 kB / 0.5966 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.5032, allocations: 197.4 kB / 0.5967 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.5141, allocations: 5.107 MB / 0.6017 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.5166, allocations: 1.704 MB / 0.6034 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00214/0.5188, allocations: 0.9351 MB / 0.6043 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.5191, allocations: 112.5 kB / 0.6044 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of SimCode: time 1.103e-06/0.5191, allocations: 0 / 0.6044 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of Templates: time 0.03112/0.5502, allocations: 11.58 MB / 0.6157 GB, free: 9.207 MB / 0.5138 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/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.450172457029112]