Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001497/0.001497, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001794/0.001794, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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.04/1.04, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.1423/0.1423, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.984 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.942e-05, allocations: 14.25 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007445/0.007474, allocations: 9.906 MB / 357.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.01425, allocations: 3.828 MB / 361.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.01572, allocations: 67.69 kB / 361.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.01882, allocations: 2.492 MB / 364 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.02257, allocations: 1.843 MB / 365.8 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.02377, allocations: 0.7639 MB / 366.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00457/0.02834, allocations: 4.185 MB / 370.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/0.03134, allocations: 2.773 MB / 373.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.03467, allocations: 2.109 MB / 375.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.03739, allocations: 2.057 MB / 377.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006814/0.03807, allocations: 312 kB / 378 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.04005, allocations: 1.135 MB / 379.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.0416, allocations: 1.854 MB / 381 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.04344, allocations: 1.16 MB / 382.2 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00591/0.04935, allocations: 4.422 MB / 386.6 MB, free: 2.691 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.04935, allocations: 0 / 386.6 MB, free: 2.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.04935, allocations: 0 / 386.6 MB, free: 2.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001225/0.04947, allocations: 0 / 386.6 MB, free: 2.691 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.00764/0.05711, allocations: 4.822 MB / 391.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.547e-05/0.05719, allocations: 8.031 kB / 391.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/0.06341, allocations: 2.514 MB / 393.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004918/0.06833, allocations: 2.191 MB / 396.1 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.06856, allocations: 205.6 kB / 396.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.06957, allocations: 280.2 kB / 396.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.07968, allocations: 5.477 MB / 402.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.887e-05/0.07978, allocations: 39.69 kB / 402.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.08012, allocations: 135.9 kB / 402.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002172/0.08229, allocations: 1.919 MB / 404.2 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007722/0.09001, allocations: 3.03 MB / 407.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03566/0.1257, allocations: 39.22 MB / 446.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.1298, allocations: 1.526 MB / 447.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.1309, allocations: 0.6052 MB / 448.5 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.1312, allocations: 100.9 kB / 448.6 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.177e-05/0.1313, allocations: 62.27 kB / 448.7 MB, free: 2.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 6.493e-06/0.1313, allocations: 0 / 448.7 MB, free: 2.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=177): time 0.211/0.3422, allocations: 11.16 MB / 459.9 MB, free: 102.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3423, allocations: 174.9 kB / 460 MB, free: 102.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.345, allocations: 3.109 MB / 463.1 MB, free: 102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.3452, allocations: 47.33 kB / 463.2 MB, free: 102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.3463, allocations: 3.074 MB / 466.3 MB, free: 99.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/0.3469, allocations: 0.7373 MB / 467 MB, free: 99.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009842/0.3478, allocations: 1.244 MB / 468.2 MB, free: 98.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.3479, allocations: 476.8 kB / 468.7 MB, free: 98.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.349, allocations: 0.7055 MB / 469.4 MB, free: 98.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.3514, allocations: 5.694 MB / 475.1 MB, free: 91.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004592/0.356, allocations: 7.029 MB / 482.1 MB, free: 81.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.213e-05/0.3561, allocations: 35.94 kB / 482.2 MB, free: 81.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.008759/0.3648, allocations: 5.533 MB / 487.7 MB, free: 76.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.3649, allocations: 56.22 kB / 487.8 MB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.589e-05/0.365, allocations: 124 kB / 487.9 MB, free: 76.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.3666, allocations: 0.7936 MB / 488.7 MB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.3692, allocations: 1.294 MB / 490 MB, free: 73.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.3731, allocations: 3.958 MB / 493.9 MB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/0.3765, allocations: 359.5 kB / 494.3 MB, free: 69.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/0.377, allocations: 358.7 kB / 494.6 MB, free: 69.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001444/0.3785, allocations: 0.6095 MB / 495.2 MB, free: 68.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/0.3791, allocations: 342 kB / 495.6 MB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.382, allocations: 1.937 MB / 497.5 MB, free: 66.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.382, allocations: 20 kB / 497.5 MB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.382, allocations: 4 kB / 497.5 MB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.382, allocations: 7.969 kB / 497.5 MB, free: 66.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008211/0.3902, allocations: 5.692 MB / 0.4914 GB, free: 60.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.3902, allocations: 0 / 0.4914 GB, free: 60.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.391, allocations: 271.6 kB / 0.4917 GB, free: 60.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.3925, allocations: 0.6275 MB / 0.4923 GB, free: 59.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.3926, allocations: 35.98 kB / 0.4923 GB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.3964, allocations: 3.649 MB / 0.4959 GB, free: 55.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3964, allocations: 0 / 0.4959 GB, free: 55.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.4009, allocations: 3.011 MB / 0.4988 GB, free: 52.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.4021, allocations: 0.5679 MB / 0.4994 GB, free: 52.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/0.4024, allocations: 28 kB / 0.4994 GB, free: 52.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.4033, allocations: 151.8 kB / 0.4996 GB, free: 52.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.4035, allocations: 104.7 kB / 0.4997 GB, free: 51.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.4036, allocations: 40 kB / 0.4997 GB, free: 51.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001568/0.4052, allocations: 1.337 MB / 0.501 GB, free: 50.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4052, allocations: 0 / 0.501 GB, free: 50.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004105/0.4093, allocations: 1.062 MB / 0.5021 GB, free: 49.55 MB / 378.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 (137): * Single equations (assignments): 133 * 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.000515/0.4098, allocations: 186.7 kB / 0.5022 GB, free: 49.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004973/0.4148, allocations: 3.102 MB / 0.5053 GB, free: 46.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4148, allocations: 0 / 0.5053 GB, free: 46.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.4164, allocations: 1.095 MB / 0.5063 GB, free: 45.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.4184, allocations: 344.6 kB / 0.5067 GB, free: 44.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.4298, allocations: 7.078 MB / 0.5136 GB, free: 37.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.4309, allocations: 1.152 MB / 0.5147 GB, free: 36.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002547/0.4335, allocations: 1.496 MB / 0.5162 GB, free: 35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/0.4341, allocations: 212.4 kB / 0.5164 GB, free: 34.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.216e-06/0.4341, allocations: 0 / 0.5164 GB, free: 34.8 MB / 378.7 MB Notification: Performance of Templates: time 0.04725/0.4814, allocations: 34.19 MB / 0.5497 GB, free: 0.7227 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.596521387109533]