Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00267/0.00267, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002483/0.002483, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4378/0.4378, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.718e-05/4.901e-05, allocations: 4.703 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01378/0.01383, allocations: 9.134 MB / 386.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008937/0.02277, allocations: 3.738 MB / 390.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.02419, allocations: 63.69 kB / 390.2 MB, free: 5.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005359/0.02955, allocations: 2.445 MB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004949/0.0345, allocations: 1.703 MB / 394.3 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.03652, allocations: 0.76 MB / 395.1 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007263/0.04378, allocations: 4.201 MB / 399.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004292/0.04808, allocations: 2.648 MB / 401.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.05166, allocations: 1.984 MB / 403.9 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003541/0.0552, allocations: 1.906 MB / 405.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006783/0.05588, allocations: 291.9 kB / 406.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.05812, allocations: 1.108 MB / 407.2 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.06008, allocations: 1.702 MB / 408.9 MB, free: 3.066 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.06182, allocations: 1.063 MB / 410 MB, free: 2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008715/0.07053, allocations: 6.32 MB / 416.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.07054, allocations: 0 / 416.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07054, allocations: 0 / 416.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001596/0.0707, allocations: 0 / 416.3 MB, free: 11.66 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.01209/0.0828, allocations: 4.937 MB / 421.2 MB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.08284, allocations: 12.03 kB / 421.2 MB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009889/0.09273, allocations: 2.409 MB / 423.6 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/0.09982, allocations: 2.102 MB / 425.7 MB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.1, allocations: 193.3 kB / 425.9 MB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007448/0.1008, allocations: 260.2 kB / 426.2 MB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.1134, allocations: 5.549 MB / 431.7 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.1135, allocations: 35.69 kB / 431.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/0.1139, allocations: 131.9 kB / 431.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003601/0.1175, allocations: 1.739 MB / 433.6 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.1277, allocations: 3.121 MB / 436.8 MB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1997/0.3274, allocations: 40.93 MB / 477.7 MB, free: 62.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005168/0.3326, allocations: 1.455 MB / 479.1 MB, free: 62.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3336, allocations: 0.5482 MB / 479.7 MB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.3339, allocations: 109.8 kB / 479.8 MB, free: 62.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3339, allocations: 51.31 kB / 479.9 MB, free: 62.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.048e-06/0.334, allocations: 0 / 479.9 MB, free: 62.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.03383/0.3678, allocations: 10.77 MB / 490.6 MB, free: 58.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.3679, allocations: 170.7 kB / 490.8 MB, free: 58.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00496/0.3728, allocations: 3.782 MB / 494.6 MB, free: 57.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004114/0.3732, allocations: 47.11 kB / 494.6 MB, free: 57.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.3754, allocations: 3.086 MB / 497.7 MB, free: 54.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009445/0.3763, allocations: 0.6977 MB / 498.4 MB, free: 54.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/0.3783, allocations: 1.393 MB / 499.8 MB, free: 53.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.3784, allocations: 479.3 kB / 0.4885 GB, free: 53.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.3802, allocations: 0.7084 MB / 0.4892 GB, free: 52.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004043/0.3842, allocations: 5.694 MB / 0.4948 GB, free: 46.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007254/0.3915, allocations: 7.046 MB / 0.5017 GB, free: 38.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002086/0.3917, allocations: 35.94 kB / 0.5017 GB, free: 38.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01242/0.4041, allocations: 5.402 MB / 0.507 GB, free: 36.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/0.4042, allocations: 54.38 kB / 0.507 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.4043, allocations: 116.5 kB / 0.5071 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.407, allocations: 0.8099 MB / 0.5079 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/0.4107, allocations: 1.207 MB / 0.5091 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/0.4166, allocations: 4.071 MB / 0.5131 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/0.4212, allocations: 346.9 kB / 0.5134 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009412/0.4222, allocations: 324.1 kB / 0.5137 GB, free: 33.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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 (649): * Single equations (assignments): 645 * 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.002778/0.425, allocations: 0.6678 MB / 0.5144 GB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009764/0.4259, allocations: 326.4 kB / 0.5147 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005194/0.4311, allocations: 1.809 MB / 0.5165 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.4312, allocations: 16 kB / 0.5165 GB, free: 32.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.4312, allocations: 4 kB / 0.5165 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.4312, allocations: 14.92 kB / 0.5165 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.4446, allocations: 6.054 MB / 0.5224 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.4446, allocations: 4 kB / 0.5224 GB, free: 26.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.4458, allocations: 225.9 kB / 0.5226 GB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/0.4484, allocations: 0.6434 MB / 0.5233 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.4486, allocations: 25.06 kB / 0.5233 GB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005551/0.4542, allocations: 3.827 MB / 0.527 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4542, allocations: 0 / 0.527 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005723/0.4599, allocations: 2.911 MB / 0.5299 GB, free: 20.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008753/0.4608, allocations: 273.3 kB / 0.5301 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.4611, allocations: 23.59 kB / 0.5301 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.4625, allocations: 131.5 kB / 0.5303 GB, free: 19.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.4627, allocations: 89.58 kB / 0.5303 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.4628, allocations: 40 kB / 0.5304 GB, free: 19.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002319/0.4652, allocations: 1.547 MB / 0.5319 GB, free: 18.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4652, allocations: 4 kB / 0.5319 GB, free: 18.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00473/0.4699, allocations: 0.9603 MB / 0.5328 GB, free: 17.5 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.0004265/0.4703, allocations: 173 kB / 0.533 GB, free: 17.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005808/0.4761, allocations: 3.253 MB / 0.5362 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4761, allocations: 4 kB / 0.5362 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.4782, allocations: 1.086 MB / 0.5372 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.4802, allocations: 333.8 kB / 0.5376 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.4904, allocations: 6.668 MB / 0.5441 GB, free: 6.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.4925, allocations: 2.117 MB / 0.5461 GB, free: 4.168 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002934/0.4954, allocations: 1.419 MB / 0.5475 GB, free: 2.746 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/0.496, allocations: 204.4 kB / 0.5477 GB, free: 2.547 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/0.496, allocations: 0 / 0.5477 GB, free: 2.547 MB / 410.7 MB Notification: Performance of Templates: time 0.06939/0.5654, allocations: 31.88 MB / 0.5789 GB, free: 3.098 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.890046703978442]