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.002521/0.002521, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.003131/0.003131, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.653/1.653, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.4182/0.4182, allocations: 34.27 MB / 295.3 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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 2.274e-06/2.274e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.053e-05/4.28e-05, allocations: 5.547 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01844/0.01849, allocations: 9.138 MB / 386.4 MB, free: 9.766 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.03043, allocations: 3.734 MB / 390.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.03281, allocations: 63.69 kB / 390.2 MB, free: 5.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007897/0.04071, allocations: 2.441 MB / 392.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007155/0.04787, allocations: 1.707 MB / 394.4 MB, free: 1.793 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.05074, allocations: 0.7639 MB / 395.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009639/0.06038, allocations: 4.191 MB / 399.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005822/0.0662, allocations: 2.644 MB / 402 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/0.07217, allocations: 1.988 MB / 404 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005647/0.07782, allocations: 1.902 MB / 405.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.07907, allocations: 288 kB / 406.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.08314, allocations: 1.119 MB / 407.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003392/0.08653, allocations: 1.706 MB / 409 MB, free: 3.117 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.0894, allocations: 1.051 MB / 410 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.1041, allocations: 6.324 MB / 416.4 MB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.1042, allocations: 4 kB / 416.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1042, allocations: 0 / 416.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.1043, allocations: 0 / 416.4 MB, free: 11.71 MB / 394.7 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.01445/0.1188, allocations: 4.941 MB / 421.3 MB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1188, allocations: 8.031 kB / 421.3 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.1294, allocations: 2.413 MB / 423.7 MB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006617/0.136, allocations: 2.102 MB / 425.8 MB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.1363, allocations: 193.3 kB / 426 MB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.1373, allocations: 264.2 kB / 426.3 MB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.154, allocations: 5.545 MB / 431.8 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.1542, allocations: 35.7 kB / 431.8 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009517/0.1551, allocations: 127.9 kB / 432 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003859/0.159, allocations: 1.743 MB / 433.7 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.1709, allocations: 3.125 MB / 436.8 MB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2135/0.3844, allocations: 40.92 MB / 477.8 MB, free: 62.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005347/0.3897, allocations: 1.467 MB / 479.2 MB, free: 62.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3908, allocations: 0.5477 MB / 479.8 MB, free: 62.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.3911, allocations: 102.1 kB / 479.9 MB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3911, allocations: 55.09 kB / 479.9 MB, free: 62.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.777e-06/0.3911, allocations: 0 / 479.9 MB, free: 62.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.03422/0.4254, allocations: 10.77 MB / 490.7 MB, free: 58.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.4254, allocations: 173.3 kB / 490.9 MB, free: 58.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00588/0.4313, allocations: 3.776 MB / 494.6 MB, free: 57.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003729/0.4317, allocations: 50.75 kB / 494.7 MB, free: 56.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.434, allocations: 3.086 MB / 497.8 MB, free: 54.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.4351, allocations: 0.696 MB / 498.5 MB, free: 54.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002686/0.4378, allocations: 1.392 MB / 499.9 MB, free: 53.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.4379, allocations: 481.8 kB / 0.4886 GB, free: 53.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4396, allocations: 0.7128 MB / 0.4893 GB, free: 52.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/0.4436, allocations: 5.691 MB / 0.4949 GB, free: 46.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/0.4502, allocations: 7.051 MB / 0.5018 GB, free: 38.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/0.4503, allocations: 31.62 kB / 0.5018 GB, free: 38.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01235/0.4627, allocations: 5.395 MB / 0.5071 GB, free: 36.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.4629, allocations: 57.94 kB / 0.5071 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/0.4631, allocations: 111.2 kB / 0.5072 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/0.466, allocations: 0.8132 MB / 0.508 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.4697, allocations: 1.21 MB / 0.5092 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006422/0.4761, allocations: 4.065 MB / 0.5132 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/0.4811, allocations: 347.3 kB / 0.5135 GB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/0.4822, allocations: 325.7 kB / 0.5138 GB, free: 33.74 MB / 410.7 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.002534/0.4847, allocations: 0.6651 MB / 0.5145 GB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009296/0.4856, allocations: 327.3 kB / 0.5148 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/0.491, allocations: 1.807 MB / 0.5165 GB, free: 32.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/0.491, allocations: 20 kB / 0.5165 GB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.491, allocations: 7.609 kB / 0.5166 GB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.4911, allocations: 10.36 kB / 0.5166 GB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.5054, allocations: 6.05 MB / 0.5225 GB, free: 27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.5054, allocations: 5.266 kB / 0.5225 GB, free: 27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5065, allocations: 229.9 kB / 0.5227 GB, free: 26.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.5092, allocations: 0.6376 MB / 0.5233 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.5093, allocations: 28 kB / 0.5233 GB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005916/0.5153, allocations: 3.836 MB / 0.5271 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5153, allocations: 0 / 0.5271 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.5215, allocations: 2.914 MB / 0.5299 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.5225, allocations: 269 kB / 0.5302 GB, free: 20.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007811/0.5233, allocations: 27.66 kB / 0.5302 GB, free: 19.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.5252, allocations: 129.3 kB / 0.5303 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.5255, allocations: 89.91 kB / 0.5304 GB, free: 19.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5256, allocations: 43.67 kB / 0.5305 GB, free: 19.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003627/0.5293, allocations: 1.542 MB / 0.532 GB, free: 18.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5293, allocations: 0 / 0.532 GB, free: 18.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005916/0.5352, allocations: 0.9645 MB / 0.5329 GB, free: 17.55 MB / 410.7 MB 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.0005541/0.5357, allocations: 174.4 kB / 0.5331 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007407/0.5432, allocations: 3.255 MB / 0.5363 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5432, allocations: 4 kB / 0.5363 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.5454, allocations: 1.085 MB / 0.5373 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.5483, allocations: 328 kB / 0.5376 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.5601, allocations: 6.673 MB / 0.5442 GB, free: 6.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/0.5624, allocations: 2.116 MB / 0.5462 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002907/0.5653, allocations: 1.419 MB / 0.5476 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.5659, allocations: 196.5 kB / 0.5478 GB, free: 2.602 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/0.5659, allocations: 4 kB / 0.5478 GB, free: 2.598 MB / 410.7 MB Notification: Performance of Templates: time 0.08306/0.6489, allocations: 31.9 MB / 0.5789 GB, free: 3.121 MB / 442.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] 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: 7.052612685947679]