Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002047/0.002047, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002524/0.002524, allocations: 161.7 kB / 24.27 MB, free: 172 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3874/0.3874, allocations: 32.79 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.833e-05, allocations: 2.312 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01276/0.01279, allocations: 8.385 MB / 383.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009238/0.02203, allocations: 3.605 MB / 387.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.02378, allocations: 67.69 kB / 387.3 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.02899, allocations: 2.379 MB / 389.7 MB, free: 6.488 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.03415, allocations: 1.707 MB / 391.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.03608, allocations: 0.7639 MB / 392.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007059/0.04313, allocations: 4.191 MB / 396.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00415/0.04728, allocations: 2.652 MB / 399 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.05124, allocations: 1.965 MB / 401 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.05462, allocations: 1.874 MB / 402.9 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006048/0.05522, allocations: 288 kB / 403.1 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.05755, allocations: 1.112 MB / 404.3 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002011/0.05956, allocations: 1.687 MB / 405.9 MB, free: 6.168 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.06117, allocations: 1.063 MB / 407 MB, free: 5.102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009417/0.07059, allocations: 6.328 MB / 413.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.07059, allocations: 0 / 413.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.0706, allocations: 0 / 413.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000213/0.07081, allocations: 0 / 413.3 MB, free: 14.75 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.01144/0.08225, allocations: 4.217 MB / 417.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.08229, allocations: 12.03 kB / 417.6 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009944/0.09224, allocations: 2.483 MB / 420 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00636/0.0986, allocations: 2.274 MB / 422.3 MB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.09884, allocations: 197.3 kB / 422.5 MB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.09991, allocations: 268.2 kB / 422.8 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/0.1182, allocations: 8.664 MB / 431.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.1183, allocations: 39.69 kB / 431.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004696/0.1188, allocations: 127.9 kB / 431.6 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003474/0.1223, allocations: 1.739 MB / 433.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.1391, allocations: 7.584 MB / 440.9 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1644/0.3035, allocations: 32.3 MB / 473.2 MB, free: 75.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00573/0.3092, allocations: 2.551 MB / 475.8 MB, free: 74.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.311, allocations: 1.791 MB / 477.6 MB, free: 73.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.3113, allocations: 119.6 kB / 477.7 MB, free: 73.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3114, allocations: 45.72 kB / 477.7 MB, free: 73.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.158e-06/0.3114, allocations: 0 / 477.7 MB, free: 73.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.03543/0.3468, allocations: 16.05 MB / 493.8 MB, free: 68.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.3468, allocations: 173.2 kB / 493.9 MB, free: 68.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/0.3506, allocations: 3.34 MB / 497.3 MB, free: 66.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.3508, allocations: 51.11 kB / 497.3 MB, free: 66.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3518, allocations: 2.745 MB / 0.4884 GB, free: 64.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/0.3523, allocations: 0.6204 MB / 0.489 GB, free: 64.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.3534, allocations: 1.084 MB / 0.49 GB, free: 63.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.3534, allocations: 312.9 kB / 0.4903 GB, free: 63.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002447/0.3559, allocations: 2.137 MB / 0.4924 GB, free: 62.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/0.3594, allocations: 5.362 MB / 0.4976 GB, free: 57.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006537/0.3659, allocations: 8.054 MB / 0.5055 GB, free: 50.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.867e-05/0.366, allocations: 32 kB / 0.5055 GB, free: 50.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0117/0.3777, allocations: 8.567 MB / 0.5139 GB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.3777, allocations: 52 kB / 0.514 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.915e-05/0.3778, allocations: 115.9 kB / 0.5141 GB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/0.3808, allocations: 1.329 MB / 0.5154 GB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.3841, allocations: 1.207 MB / 0.5165 GB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/0.3916, allocations: 7.436 MB / 0.5238 GB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/0.3956, allocations: 347.2 kB / 0.5241 GB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004468/0.3961, allocations: 332 kB / 0.5245 GB, free: 32.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * 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 (646): * Single equations (assignments): 642 * 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.002137/0.3982, allocations: 1.841 MB / 0.5262 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005776/0.3988, allocations: 326.1 kB / 0.5266 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/0.404, allocations: 3.569 MB / 0.53 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.404, allocations: 20 kB / 0.5301 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.404, allocations: 11.31 kB / 0.5301 GB, free: 26.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4041, allocations: 7.922 kB / 0.5301 GB, free: 26.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4143, allocations: 7.279 MB / 0.5372 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4143, allocations: 0 / 0.5372 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.4154, allocations: 227.6 kB / 0.5374 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.418, allocations: 1.161 MB / 0.5385 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.4182, allocations: 24 kB / 0.5386 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/0.4254, allocations: 7.128 MB / 0.5455 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4254, allocations: 0 / 0.5455 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007462/0.4329, allocations: 6.39 MB / 0.5518 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.4336, allocations: 281.9 kB / 0.552 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.4339, allocations: 24 kB / 0.5521 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.4352, allocations: 135.8 kB / 0.5522 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.4354, allocations: 92.81 kB / 0.5523 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.4356, allocations: 40 kB / 0.5523 GB, free: 3.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0021/0.4377, allocations: 1.939 MB / 0.5542 GB, free: 1.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4377, allocations: 0 / 0.5542 GB, free: 1.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003886/0.4415, allocations: 0.9648 MB / 0.5552 GB, free: 0.7734 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.0003806/0.4419, allocations: 174.6 kB / 0.5553 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008454/0.4504, allocations: 4.976 MB / 0.5602 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4504, allocations: 0.625 kB / 0.5602 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.4538, allocations: 1.78 MB / 0.5619 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.4561, allocations: 349.5 kB / 0.5622 GB, free: 9.535 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.4718, allocations: 8.486 MB / 0.5705 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003638/0.4754, allocations: 2.338 MB / 0.5728 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004049/0.4794, allocations: 1.684 MB / 0.5745 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.4801, allocations: 200.5 kB / 0.5747 GB, free: 12.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4801, allocations: 0 / 0.5747 GB, free: 12.71 MB / 442.7 MB Notification: Performance of Templates: time 0.2073/0.6874, allocations: 31.42 MB / 0.6053 GB, free: 132.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.875949145061895]