Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 113.4 kB / 19.69 MB, free: 2.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 189.8 kB / 22.98 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2425/0.2425, allocations: 44.23 MB / 330.2 MB, free: 9.543 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 63.89 kB / 467.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1417, allocations: 61.03 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01406/0.1558, allocations: 11.12 MB / 0.5274 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.1628, allocations: 3.1 MB / 0.5305 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.1647, allocations: 59.81 kB / 0.5305 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.1689, allocations: 2.044 MB / 0.5325 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.1724, allocations: 1.249 MB / 0.5337 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008713/0.1733, allocations: 295.4 kB / 0.534 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.177, allocations: 2.497 MB / 0.5364 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.1794, allocations: 1.708 MB / 0.5381 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2826/0.462, allocations: 0.9748 MB / 0.5391 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.4647, allocations: 1.403 MB / 0.5404 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006656/0.4654, allocations: 219.2 kB / 0.5406 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.4671, allocations: 0.7327 MB / 0.5414 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.4686, allocations: 1.276 MB / 0.5426 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.4702, allocations: 1.469 MB / 0.544 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.478, allocations: 4.856 MB / 0.5488 GB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.478, allocations: 1.938 kB / 0.5488 GB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.478, allocations: 0 / 0.5488 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002038/0.4782, allocations: 3.938 kB / 0.5488 GB, free: 10.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.009668/0.4879, allocations: 3.154 MB / 0.5519 GB, free: 8.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.732e-05/0.488, allocations: 10.95 kB / 0.5519 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00727/0.4952, allocations: 1.641 MB / 0.5535 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00471/0.4999, allocations: 1.359 MB / 0.5548 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.5001, allocations: 160.5 kB / 0.555 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007206/0.5008, allocations: 204.8 kB / 0.5552 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.5144, allocations: 6.979 MB / 0.562 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.5144, allocations: 17 kB / 0.562 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/0.5147, allocations: 98.66 kB / 0.5621 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/0.5173, allocations: 1.524 MB / 0.5636 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.5306, allocations: 5.951 MB / 0.5694 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03653/0.5672, allocations: 22.04 MB / 0.5909 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.5719, allocations: 1.663 MB / 0.5925 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.5732, allocations: 0.7384 MB / 0.5932 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008082/0.5813, allocations: 3.499 MB / 0.5967 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.5813, allocations: 45 kB / 0.5967 GB, free: 13.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 4.899e-06/0.5813, allocations: 0 / 0.5967 GB, free: 13.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.00645/0.5878, allocations: 2.265 MB / 0.5989 GB, free: 10.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.5878, allocations: 64.06 kB / 0.599 GB, free: 10.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.5913, allocations: 2.065 MB / 0.601 GB, free: 8.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.999e-05/0.5914, allocations: 33.7 kB / 0.601 GB, free: 8.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.5932, allocations: 2.093 MB / 0.6031 GB, free: 6.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/0.5937, allocations: 394.8 kB / 0.6035 GB, free: 6.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009733/0.5947, allocations: 0.6745 MB / 0.6041 GB, free: 5.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.5948, allocations: 357.9 kB / 0.6045 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5965, allocations: 1.001 MB / 0.6054 GB, free: 4.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.5998, allocations: 2.997 MB / 0.6084 GB, free: 172 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006525/0.6064, allocations: 4.355 MB / 0.6126 GB, free: 11.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.571e-05/0.6065, allocations: 23.94 kB / 0.6126 GB, free: 11.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007833/0.6143, allocations: 3.898 MB / 0.6164 GB, free: 7.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.6143, allocations: 39.94 kB / 0.6165 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.192e-05/0.6144, allocations: 72 kB / 0.6165 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.6146, allocations: 92 kB / 0.6166 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.6168, allocations: 0.729 MB / 0.6173 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001258/0.6169, allocations: 139.5 kB / 0.6175 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.6193, allocations: 469 kB / 0.6179 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/0.6196, allocations: 198.6 kB / 0.6181 GB, free: 5.871 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.002907/0.6225, allocations: 1.473 MB / 0.6196 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.6229, allocations: 178.8 kB / 0.6197 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.6253, allocations: 1.247 MB / 0.6209 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.6253, allocations: 8 kB / 0.6209 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6253, allocations: 3.25 kB / 0.621 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6253, allocations: 3.984 kB / 0.621 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/0.6346, allocations: 5.009 MB / 0.6258 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.6346, allocations: 8.969 kB / 0.6259 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.6352, allocations: 143.7 kB / 0.626 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.6352, allocations: 16 kB / 0.626 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.6353, allocations: 28 kB / 0.626 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.132e-05/0.6353, allocations: 23.92 kB / 0.6261 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-05/0.6354, allocations: 15.94 kB / 0.6261 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.6379, allocations: 1.583 MB / 0.6276 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/0.6386, allocations: 208.7 kB / 0.6278 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.6388, allocations: 27.98 kB / 0.6278 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.6395, allocations: 31.98 kB / 0.6279 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.6396, allocations: 95.52 kB / 0.628 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/0.6397, allocations: 36 kB / 0.628 GB, free: 11.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002582/0.6423, allocations: 1.352 MB / 0.6293 GB, free: 10.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6423, allocations: 0 / 0.6293 GB, free: 10.03 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003468/0.6458, allocations: 0.781 MB / 0.6301 GB, free: 9.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0004362/0.6462, allocations: 149.9 kB / 0.6302 GB, free: 9.098 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004205/0.6504, allocations: 2.221 MB / 0.6324 GB, free: 6.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.6504, allocations: 4 kB / 0.6324 GB, free: 6.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008823/0.6513, allocations: 0.5259 MB / 0.6329 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.6529, allocations: 271.7 kB / 0.6332 GB, free: 6.117 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.664, allocations: 5.826 MB / 0.6389 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003017/0.667, allocations: 2.452 MB / 0.6413 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002523/0.6695, allocations: 1.045 MB / 0.6423 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.6699, allocations: 135.4 kB / 0.6424 GB, free: 12.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6699, allocations: 0 / 0.6424 GB, free: 12.48 MB / 494.1 MB Notification: Performance of Templates: time 0.04255/0.7124, allocations: 19.35 MB / 0.6613 GB, free: 9.191 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.301503610797226]