Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.001928/0.001928, allocations: 84.69 kB / 20.68 MB, free: 1.035 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.002533/0.002533, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.2109/0.2109, allocations: 34.28 MB / 294.9 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.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.714e-05, allocations: 9.172 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1939/0.1939, allocations: 8.376 MB / 451.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007462/0.2014, allocations: 3.617 MB / 454.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2025, allocations: 61.12 kB / 454.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004356/0.2069, allocations: 2.348 MB / 457.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.2109, allocations: 1.704 MB / 458.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.2125, allocations: 0.7475 MB / 459.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005465/0.218, allocations: 4.2 MB / 463.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.2218, allocations: 2.567 MB / 466.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.2256, allocations: 1.976 MB / 468.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.2285, allocations: 1.858 MB / 470.1 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006332/0.2291, allocations: 286.4 kB / 470.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.2312, allocations: 1.11 MB / 471.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.2324, allocations: 1.692 MB / 473.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.2336, allocations: 1.052 MB / 474.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006364/0.2399, allocations: 6.306 MB / 480.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.24, allocations: 0 / 480.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.24, allocations: 3.938 kB / 480.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002102/0.2402, allocations: 1.469 kB / 480.6 MB, free: 15.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01169/0.2519, allocations: 4.201 MB / 484.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2519, allocations: 15.97 kB / 484.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009255/0.2612, allocations: 2.073 MB / 486.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005816/0.267, allocations: 2.255 MB / 489.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.2672, allocations: 193.3 kB / 489.3 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000637/0.2678, allocations: 260.2 kB / 489.6 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.2827, allocations: 8.618 MB / 498.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.2828, allocations: 39.64 kB / 498.2 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.2832, allocations: 127.9 kB / 498.3 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003413/0.2866, allocations: 1.746 MB / 0.4884 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.3015, allocations: 7.537 MB / 0.4957 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0445/0.346, allocations: 32.16 MB / 0.5271 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.3534, allocations: 2.591 MB / 0.5297 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/0.356, allocations: 1.765 MB / 0.5314 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/0.3563, allocations: 100.4 kB / 0.5315 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.3563, allocations: 51.22 kB / 0.5315 GB, free: 14.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.268e-06/0.3563, allocations: 0 / 0.5315 GB, free: 14.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.04299/0.3993, allocations: 15.69 MB / 0.5469 GB, free: 14.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.3994, allocations: 171.2 kB / 0.547 GB, free: 14.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005027/0.4045, allocations: 3.36 MB / 0.5503 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.4048, allocations: 45.7 kB / 0.5504 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.4069, allocations: 2.751 MB / 0.553 GB, free: 8.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.4077, allocations: 0.6242 MB / 0.5537 GB, free: 7.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/0.4094, allocations: 1.092 MB / 0.5547 GB, free: 6.832 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.4096, allocations: 301.1 kB / 0.555 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/0.413, allocations: 2.119 MB / 0.5571 GB, free: 4.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00663/0.4196, allocations: 5.366 MB / 0.5623 GB, free: 13.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.4307, allocations: 8.036 MB / 0.5702 GB, free: 3.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.449e-05/0.4307, allocations: 32 kB / 0.5702 GB, free: 3.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01586/0.4466, allocations: 8.255 MB / 0.5783 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/0.4467, allocations: 56 kB / 0.5783 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/0.4468, allocations: 116.1 kB / 0.5784 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/0.4502, allocations: 1.22 MB / 0.5796 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/0.4543, allocations: 1.216 MB / 0.5808 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.4654, allocations: 7.41 MB / 0.588 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/0.4698, allocations: 347.5 kB / 0.5884 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008006/0.4706, allocations: 332 kB / 0.5887 GB, free: 0.7188 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (649): * Single equations (assignments): 645 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003447/0.474, allocations: 1.848 MB / 0.5905 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/0.4747, allocations: 278.1 kB / 0.5908 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00713/0.4818, allocations: 3.534 MB / 0.5942 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/0.4819, allocations: 16 kB / 0.5942 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/0.4819, allocations: 8 kB / 0.5942 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/0.4819, allocations: 7.969 kB / 0.5942 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.4971, allocations: 7.253 MB / 0.6013 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4971, allocations: 4 kB / 0.6013 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.4984, allocations: 223.6 kB / 0.6015 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.5014, allocations: 1.058 MB / 0.6026 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002264/0.5016, allocations: 35.94 kB / 0.6026 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.5134, allocations: 7.099 MB / 0.6095 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.5134, allocations: 7.984 kB / 0.6095 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.526, allocations: 6.235 MB / 0.6156 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009736/0.527, allocations: 278 kB / 0.6159 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007286/0.5277, allocations: 27.98 kB / 0.6159 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/0.5296, allocations: 127.8 kB / 0.616 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/0.53, allocations: 100.7 kB / 0.6161 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.5302, allocations: 39.98 kB / 0.6162 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003939/0.5341, allocations: 1.947 MB / 0.6181 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5341, allocations: 0 / 0.6181 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005066/0.5392, allocations: 0.9686 MB / 0.619 GB, free: 1.414 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007063/0.5399, allocations: 163.1 kB / 0.6192 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00949/0.5494, allocations: 4.944 MB / 0.624 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5494, allocations: 0 / 0.624 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003532/0.5529, allocations: 1.745 MB / 0.6257 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.556, allocations: 325.6 kB / 0.626 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.5738, allocations: 8.353 MB / 0.6342 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2014/0.7752, allocations: 2.321 MB / 0.6364 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004574/0.7798, allocations: 1.678 MB / 0.6381 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007613/0.7806, allocations: 203.3 kB / 0.6383 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.7806, allocations: 6.438 kB / 0.6383 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.06566/0.8462, allocations: 31.64 MB / 0.6692 GB, free: 159.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.933037366718054]