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.001702/0.001702, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.001873/0.001873, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 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.458/1.458, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2246/0.2246, allocations: 32.38 MB / 270 MB, free: 14.79 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 1.774e-06/1.774e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.863e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008123/0.008152, allocations: 9.027 MB / 356 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009187/0.01734, allocations: 3.72 MB / 359.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.01915, allocations: 67.69 kB / 359.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005469/0.02462, allocations: 2.414 MB / 362.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006186/0.03081, allocations: 1.851 MB / 364 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.03311, allocations: 0.7678 MB / 364.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007601/0.04071, allocations: 4.176 MB / 369 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004955/0.04567, allocations: 2.761 MB / 371.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00433/0.05, allocations: 2.109 MB / 373.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/0.054, allocations: 2.007 MB / 375.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009327/0.05493, allocations: 312 kB / 376.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.05756, allocations: 1.151 MB / 377.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.0598, allocations: 1.839 MB / 379.1 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001948/0.06175, allocations: 1.157 MB / 380.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.07277, allocations: 6.873 MB / 387.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.07278, allocations: 0 / 387.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.07278, allocations: 0 / 387.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000209/0.07299, allocations: 0 / 387.2 MB, free: 1.414 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.01281/0.0858, allocations: 4.492 MB / 391.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.08585, allocations: 8.031 kB / 391.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.09634, allocations: 2.584 MB / 394.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006803/0.1031, allocations: 2.423 MB / 396.7 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.1034, allocations: 213.6 kB / 396.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.1047, allocations: 280.2 kB / 397.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.1264, allocations: 9.355 MB / 406.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.1266, allocations: 39.64 kB / 406.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005312/0.1271, allocations: 135.9 kB / 406.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004131/0.1313, allocations: 1.919 MB / 408.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.1506, allocations: 8.176 MB / 416.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2239/0.3745, allocations: 34.19 MB / 451 MB, free: 97.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007669/0.3822, allocations: 3.05 MB / 454 MB, free: 97.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.3849, allocations: 1.923 MB / 455.9 MB, free: 97.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.3852, allocations: 109.4 kB / 456 MB, free: 97.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3853, allocations: 56.22 kB / 456.1 MB, free: 97.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 4.268e-06/0.3853, allocations: 0 / 456.1 MB, free: 97.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=177): time 0.03675/0.422, allocations: 17.04 MB / 473.1 MB, free: 91.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.4221, allocations: 178.5 kB / 473.3 MB, free: 90.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.4258, allocations: 3.486 MB / 476.8 MB, free: 87.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003388/0.4262, allocations: 49.7 kB / 476.8 MB, free: 87.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.4272, allocations: 2.913 MB / 479.8 MB, free: 84.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006463/0.4278, allocations: 0.6981 MB / 480.5 MB, free: 83.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.4291, allocations: 1.143 MB / 481.6 MB, free: 82.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.4291, allocations: 308.4 kB / 481.9 MB, free: 82.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.4318, allocations: 2.307 MB / 484.2 MB, free: 80.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/0.4356, allocations: 5.668 MB / 489.9 MB, free: 72.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007496/0.4431, allocations: 8.564 MB / 498.4 MB, free: 62.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.395e-05/0.4432, allocations: 32 kB / 498.5 MB, free: 62.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.01462/0.4578, allocations: 9.055 MB / 0.4956 GB, free: 53.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.4579, allocations: 57.72 kB / 0.4957 GB, free: 53.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/0.4581, allocations: 116 kB / 0.4958 GB, free: 53.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/0.4613, allocations: 1.33 MB / 0.4971 GB, free: 52.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/0.4656, allocations: 1.291 MB / 0.4984 GB, free: 50.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008469/0.4741, allocations: 7.563 MB / 0.5057 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/0.4792, allocations: 367.5 kB / 0.5061 GB, free: 42.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/0.4802, allocations: 344 kB / 0.5064 GB, free: 42.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 533 * 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 (687): * Single equations (assignments): 683 * 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.003759/0.484, allocations: 1.969 MB / 0.5083 GB, free: 40.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.4851, allocations: 342.1 kB / 0.5087 GB, free: 40.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006722/0.4918, allocations: 3.941 MB / 0.5125 GB, free: 36.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/0.4918, allocations: 23.94 kB / 0.5125 GB, free: 36.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.4918, allocations: 4 kB / 0.5125 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.4918, allocations: 7.969 kB / 0.5126 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.5063, allocations: 7.93 MB / 0.5203 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.5063, allocations: 0 / 0.5203 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.5077, allocations: 275.5 kB / 0.5206 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.5106, allocations: 1.16 MB / 0.5217 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/0.5109, allocations: 32 kB / 0.5217 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007921/0.5188, allocations: 7.13 MB / 0.5287 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5188, allocations: 4 kB / 0.5287 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009432/0.5283, allocations: 6.977 MB / 0.5355 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/0.5298, allocations: 0.611 MB / 0.5361 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007106/0.5305, allocations: 32 kB / 0.5361 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.5323, allocations: 151.8 kB / 0.5363 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.5327, allocations: 104.7 kB / 0.5364 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.5328, allocations: 44 kB / 0.5364 GB, free: 11.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003088/0.5359, allocations: 2.035 MB / 0.5384 GB, free: 9.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5359, allocations: 0 / 0.5384 GB, free: 9.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005062/0.541, allocations: 1.07 MB / 0.5394 GB, free: 8.473 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.0005871/0.5415, allocations: 186.5 kB / 0.5396 GB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007915/0.5495, allocations: 5.31 MB / 0.5448 GB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.5495, allocations: 0 / 0.5448 GB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.5526, allocations: 1.928 MB / 0.5467 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/0.5558, allocations: 362.3 kB / 0.547 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.5747, allocations: 9.127 MB / 0.556 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005012/0.5797, allocations: 2.525 MB / 0.5584 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005341/0.585, allocations: 1.791 MB / 0.5602 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.5861, allocations: 212.5 kB / 0.5604 GB, free: 2.996 MB / 394.7 MB Notification: Performance of SimCode: time 1.724e-06/0.5861, allocations: 0 / 0.5604 GB, free: 2.996 MB / 394.7 MB Notification: Performance of Templates: time 0.0732/0.6593, allocations: 33.24 MB / 0.5928 GB, free: 1.867 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.95846217405051]