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.001207/0.001207, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00166/0.00166, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.178/1.178, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.354/0.354, allocations: 34.26 MB / 296.1 MB, free: 0.6484 MB / 266.7 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 2.404e-06/2.404e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.58e-05, allocations: 2.312 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.00831/0.008345, allocations: 8.996 MB / 387.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.01568, allocations: 3.703 MB / 391.2 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.01742, allocations: 71.69 kB / 391.3 MB, free: 5.531 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.0204, allocations: 2.418 MB / 393.7 MB, free: 3.105 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.0238, allocations: 1.707 MB / 395.4 MB, free: 1.391 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.02519, allocations: 0.7639 MB / 396.2 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0056/0.03079, allocations: 4.21 MB / 400.4 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.03403, allocations: 2.644 MB / 403 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.03721, allocations: 2.515 MB / 405.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.03919, allocations: 1.87 MB / 407.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.03962, allocations: 284 kB / 407.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.04152, allocations: 1.108 MB / 408.8 MB, free: 3.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.04265, allocations: 1.691 MB / 410.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.04369, allocations: 1.063 MB / 411.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.04745, allocations: 4.083 MB / 415.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.04746, allocations: 0 / 415.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.04746, allocations: 0 / 415.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.49e-05/0.04752, allocations: 0 / 415.6 MB, free: 13.07 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.005005/0.05252, allocations: 4.398 MB / 420 MB, free: 8.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.05257, allocations: 8.031 kB / 420 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.05596, allocations: 1.477 MB / 421.5 MB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.05799, allocations: 1.797 MB / 423.3 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.0581, allocations: 193.3 kB / 423.5 MB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.0584, allocations: 260.2 kB / 423.7 MB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004543/0.06295, allocations: 4.658 MB / 428.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.611e-05/0.06301, allocations: 39.64 kB / 428.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.06323, allocations: 123.9 kB / 428.6 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/0.06461, allocations: 1.477 MB / 430 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.06793, allocations: 2.048 MB / 432.1 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2686/0.3365, allocations: 37.1 MB / 469.2 MB, free: 62.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.3391, allocations: 1.131 MB / 470.3 MB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.3395, allocations: 312.9 kB / 470.6 MB, free: 62.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003866/0.3434, allocations: 2.667 MB / 473.3 MB, free: 61.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.3434, allocations: 53.92 kB / 473.3 MB, free: 61.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 3.377e-06/0.3434, allocations: 3.828 kB / 473.4 MB, free: 61.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.01463/0.3581, allocations: 4.252 MB / 477.6 MB, free: 60.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.3581, allocations: 167.7 kB / 477.8 MB, free: 60.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/0.3618, allocations: 3.124 MB / 480.9 MB, free: 59.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.3619, allocations: 40.23 kB / 480.9 MB, free: 59.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.3635, allocations: 3.041 MB / 484 MB, free: 57.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.3639, allocations: 494.3 kB / 484.5 MB, free: 57.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.3652, allocations: 1.166 MB / 485.6 MB, free: 56.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.3652, allocations: 480.7 kB / 486.1 MB, free: 56.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.3663, allocations: 479.3 kB / 486.6 MB, free: 56.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/0.3695, allocations: 5.552 MB / 492.1 MB, free: 49.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004899/0.3744, allocations: 6.564 MB / 498.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/0.3745, allocations: 33.16 kB / 498.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006511/0.381, allocations: 4.293 MB / 0.4912 GB, free: 40.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/0.3811, allocations: 59.78 kB / 0.4913 GB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.3813, allocations: 123 kB / 0.4914 GB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.3824, allocations: 344.4 kB / 0.4917 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.3855, allocations: 1.161 MB / 0.4928 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.3883, allocations: 2.715 MB / 0.4955 GB, free: 38.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.3916, allocations: 239.1 kB / 0.4957 GB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004417/0.3921, allocations: 288.3 kB / 0.496 GB, free: 38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (645): * Single equations (assignments): 641 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.3934, allocations: 0.5877 MB / 0.4966 GB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.3938, allocations: 299.2 kB / 0.4969 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.3953, allocations: 0.7153 MB / 0.4976 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.3953, allocations: 16.97 kB / 0.4976 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3954, allocations: 5.594 kB / 0.4976 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3954, allocations: 4.812 kB / 0.4976 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007052/0.4024, allocations: 3.489 MB / 0.501 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4024, allocations: 3.094 kB / 0.501 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.4029, allocations: 117.1 kB / 0.5011 GB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008547/0.4037, allocations: 182.2 kB / 0.5013 GB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.4038, allocations: 22.11 kB / 0.5013 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.4059, allocations: 2.475 MB / 0.5037 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4059, allocations: 10.75 kB / 0.5037 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.4084, allocations: 1.628 MB / 0.5053 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.4088, allocations: 256.1 kB / 0.5056 GB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.4091, allocations: 23.7 kB / 0.5056 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.4098, allocations: 14.34 kB / 0.5056 GB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.41, allocations: 65.17 kB / 0.5057 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.502e-05/0.4101, allocations: 30.61 kB / 0.5057 GB, free: 32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001852/0.4119, allocations: 1.236 MB / 0.5069 GB, free: 31.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4119, allocations: 0 / 0.5069 GB, free: 31.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005684/0.4176, allocations: 0.847 MB / 0.5077 GB, free: 31.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 70 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004588/0.418, allocations: 158.7 kB / 0.5079 GB, free: 31.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004631/0.4227, allocations: 2.326 MB / 0.5101 GB, free: 30.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4227, allocations: 320 / 0.5101 GB, free: 30.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.4234, allocations: 0.5001 MB / 0.5106 GB, free: 30.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.4251, allocations: 330.9 kB / 0.511 GB, free: 30.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.4357, allocations: 6.027 MB / 0.5168 GB, free: 27.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.4372, allocations: 1.027 MB / 0.5178 GB, free: 26.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001581/0.4388, allocations: 421.3 kB / 0.5182 GB, free: 26.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008149/0.4396, allocations: 478.5 kB / 0.5187 GB, free: 25.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.655e-06/0.4396, allocations: 0 / 0.5187 GB, free: 25.84 MB / 410.7 MB Notification: Performance of Templates: time 0.03964/0.4792, allocations: 24.38 MB / 0.5425 GB, free: 5.367 MB / 410.7 MB " [Timeout remaining time 660] 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","",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.61856845067814]