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.001002/0.001002, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001126/0.001126, allocations: 166 kB / 24.82 MB, free: 9.309 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.083/1.083, allocations: 177.2 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.2957/0.2957, allocations: 32.81 MB / 294.6 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 180] 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.674e-06/1.674e-06, allocations: 0 / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.48e-05, allocations: 2.312 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008703/0.008728, allocations: 8.996 MB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005896/0.01462, allocations: 3.71 MB / 389.2 MB, free: 7.605 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.01584, allocations: 59.75 kB / 389.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.01864, allocations: 2.422 MB / 391.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.02212, allocations: 1.711 MB / 393.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.02347, allocations: 0.764 MB / 394.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004442/0.02791, allocations: 4.203 MB / 398.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/0.03129, allocations: 2.648 MB / 401 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.03559, allocations: 2.507 MB / 403.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.03842, allocations: 1.87 MB / 405.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006322/0.03906, allocations: 284 kB / 405.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.04066, allocations: 1.104 MB / 406.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.04179, allocations: 1.695 MB / 408.5 MB, free: 4.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.04319, allocations: 1.067 MB / 409.5 MB, free: 3.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.04708, allocations: 4.084 MB / 413.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.04709, allocations: 0 / 413.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.04709, allocations: 0 / 413.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.706e-05/0.04715, allocations: 0 / 413.6 MB, free: 15.08 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.004872/0.05202, allocations: 4.394 MB / 418 MB, free: 10.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.05206, allocations: 16.03 kB / 418 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/0.05564, allocations: 1.473 MB / 419.5 MB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.05776, allocations: 1.793 MB / 421.3 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.05786, allocations: 193.3 kB / 421.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.05819, allocations: 260.2 kB / 421.7 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004917/0.0631, allocations: 4.658 MB / 426.4 MB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.837e-05/0.06318, allocations: 39.69 kB / 426.4 MB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.0634, allocations: 127.9 kB / 426.5 MB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001259/0.06465, allocations: 1.481 MB / 428 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.06838, allocations: 2.046 MB / 430.1 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2351/0.3035, allocations: 37.1 MB / 467.2 MB, free: 64.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.3061, allocations: 1.124 MB / 468.3 MB, free: 64.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.3065, allocations: 313.9 kB / 468.6 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003429/0.3099, allocations: 2.673 MB / 471.3 MB, free: 63.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.31, allocations: 47.3 kB / 471.3 MB, free: 63.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 4.378e-06/0.31, allocations: 3.844 kB / 471.3 MB, free: 63.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.0107/0.3207, allocations: 4.249 MB / 475.6 MB, free: 62.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3207, allocations: 167.2 kB / 475.7 MB, free: 62.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.3232, allocations: 3.121 MB / 478.9 MB, free: 61.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.3233, allocations: 36.42 kB / 478.9 MB, free: 61.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.3245, allocations: 3.051 MB / 481.9 MB, free: 59.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.3249, allocations: 484.9 kB / 482.4 MB, free: 59.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008479/0.3257, allocations: 1.176 MB / 483.6 MB, free: 59.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.3258, allocations: 484.4 kB / 484.1 MB, free: 58.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007007/0.3265, allocations: 473.3 kB / 484.5 MB, free: 58.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/0.3289, allocations: 5.549 MB / 490.1 MB, free: 51.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/0.3332, allocations: 6.565 MB / 496.6 MB, free: 44.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.377e-05/0.3333, allocations: 33.16 kB / 496.7 MB, free: 44.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.005893/0.3392, allocations: 4.292 MB / 0.4892 GB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.3393, allocations: 59.41 kB / 0.4893 GB, free: 42.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/0.3394, allocations: 124.2 kB / 0.4894 GB, free: 42.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/0.3404, allocations: 349 kB / 0.4897 GB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.3426, allocations: 1.153 MB / 0.4909 GB, free: 42.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.3448, allocations: 2.725 MB / 0.4935 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.3478, allocations: 238.2 kB / 0.4938 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/0.3483, allocations: 284.8 kB / 0.494 GB, free: 40.15 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.001337/0.3496, allocations: 0.5898 MB / 0.4946 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/0.3502, allocations: 307.2 kB / 0.4949 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.3515, allocations: 0.7057 MB / 0.4956 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.3515, allocations: 12.66 kB / 0.4956 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3515, allocations: 6.938 kB / 0.4956 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3515, allocations: 12.95 kB / 0.4956 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/0.3581, allocations: 3.493 MB / 0.499 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.3581, allocations: 2.25 kB / 0.499 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.3586, allocations: 120.6 kB / 0.4991 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007582/0.3593, allocations: 180.8 kB / 0.4993 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.3594, allocations: 21.58 kB / 0.4993 GB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.3615, allocations: 2.467 MB / 0.5017 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3615, allocations: 3.094 kB / 0.5017 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.3643, allocations: 1.648 MB / 0.5034 GB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007931/0.3651, allocations: 252.2 kB / 0.5036 GB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.3653, allocations: 14.5 kB / 0.5036 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.3659, allocations: 21.11 kB / 0.5036 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3661, allocations: 61.7 kB / 0.5037 GB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.3661, allocations: 26.33 kB / 0.5037 GB, free: 34.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001948/0.3681, allocations: 1.242 MB / 0.5049 GB, free: 33.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 3.938 kB / 0.5049 GB, free: 33.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004248/0.3723, allocations: 0.8427 MB / 0.5058 GB, free: 33.62 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.0004015/0.3727, allocations: 163 kB / 0.5059 GB, free: 33.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.3768, allocations: 2.322 MB / 0.5082 GB, free: 32.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.3768, allocations: 4.688 kB / 0.5082 GB, free: 32.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.3774, allocations: 0.5007 MB / 0.5087 GB, free: 32.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.3788, allocations: 326.9 kB / 0.509 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00904/0.3879, allocations: 6.028 MB / 0.5149 GB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.3891, allocations: 1.023 MB / 0.5159 GB, free: 28.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.3903, allocations: 410 kB / 0.5163 GB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.3908, allocations: 486.5 kB / 0.5167 GB, free: 28.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.3908, allocations: 0 / 0.5167 GB, free: 28.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03819/0.429, allocations: 24.38 MB / 0.5405 GB, free: 7.781 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] 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","",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.21991973510012]