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.0009436/0.0009436, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001039/0.001039, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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 0.9519/0.9519, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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.2531/0.2531, allocations: 34.87 MB / 296.6 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] 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.263e-06/1.263e-06, allocations: 0 / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.23e-05, allocations: 9.406 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.02183/0.02185, allocations: 9.043 MB / 335 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.03519, allocations: 3.841 MB / 338.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.03657, allocations: 67.69 kB / 338.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.03993, allocations: 2.406 MB / 341.3 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.0435, allocations: 1.695 MB / 343 MB, free: 5.992 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.04481, allocations: 0.7634 MB / 343.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004654/0.04946, allocations: 4.186 MB / 348 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.05238, allocations: 2.605 MB / 350.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/0.05549, allocations: 2.456 MB / 353 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.0579, allocations: 1.789 MB / 354.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005218/0.05842, allocations: 284 kB / 355.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.06004, allocations: 1.135 MB / 356.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.06132, allocations: 1.699 MB / 357.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.06261, allocations: 1.059 MB / 359 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.06708, allocations: 4.079 MB / 363.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.06708, allocations: 4 kB / 363.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.06708, allocations: 0 / 363.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.06719, allocations: 0 / 363.1 MB, free: 1.832 MB / 330.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.006114/0.07331, allocations: 3.88 MB / 367 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.07335, allocations: 8.031 kB / 367 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/0.07715, allocations: 0.9684 MB / 367.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.0799, allocations: 1.641 MB / 369.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.08005, allocations: 197.2 kB / 369.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/0.08051, allocations: 260.2 kB / 370 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006248/0.08676, allocations: 4.179 MB / 374.2 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.324e-05/0.08685, allocations: 39.64 kB / 374.2 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/0.08716, allocations: 131.9 kB / 374.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/0.08889, allocations: 1.474 MB / 375.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.09396, allocations: 2.095 MB / 377.9 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.1143, allocations: 26.78 MB / 404.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.1167, allocations: 1.161 MB / 405.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.1171, allocations: 245.6 kB / 406.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003636/0.1207, allocations: 2.494 MB / 408.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.1208, allocations: 42.88 kB / 408.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 3.637e-06/0.1208, allocations: 4 kB / 408.7 MB, free: 2.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.009657/0.1304, allocations: 3.875 MB / 412.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.1305, allocations: 174.7 kB / 412.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.133, allocations: 2.783 MB / 415.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.1331, allocations: 41.7 kB / 415.5 MB, free: 11.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.1342, allocations: 2.716 MB / 418.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.1346, allocations: 472.6 kB / 418.7 MB, free: 8.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008068/0.1354, allocations: 0.9969 MB / 419.7 MB, free: 7.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.1355, allocations: 301.1 kB / 420 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009521/0.1364, allocations: 0.6305 MB / 420.6 MB, free: 6.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.139, allocations: 3.918 MB / 424.5 MB, free: 0.625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/0.1425, allocations: 4.976 MB / 429.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.415e-05/0.1426, allocations: 32 kB / 429.5 MB, free: 9.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004119/0.1467, allocations: 3.664 MB / 433.2 MB, free: 6.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.1468, allocations: 56 kB / 433.3 MB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.329e-05/0.1468, allocations: 124 kB / 433.4 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/0.1476, allocations: 347.4 kB / 433.7 MB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.1497, allocations: 1.193 MB / 434.9 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.1516, allocations: 2.146 MB / 437.1 MB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.1533, allocations: 243.6 kB / 437.3 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.1536, allocations: 288 kB / 437.6 MB, free: 1.762 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.0008332/0.1544, allocations: 0.5393 MB / 438.1 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.1546, allocations: 167.8 kB / 438.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009236/0.1556, allocations: 0.6596 MB / 438.9 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.1556, allocations: 12 kB / 439 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1556, allocations: 4 kB / 439 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1556, allocations: 7.984 kB / 439 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.1595, allocations: 2.951 MB / 441.9 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.1595, allocations: 7.984 kB / 441.9 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.1598, allocations: 127.8 kB / 442.1 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006884/0.1605, allocations: 336.2 kB / 442.4 MB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.1605, allocations: 20 kB / 442.4 MB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.1621, allocations: 1.905 MB / 444.3 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1621, allocations: 4 kB / 444.3 MB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.1635, allocations: 1.386 MB / 445.7 MB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.1638, allocations: 246.1 kB / 445.9 MB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.164, allocations: 20 kB / 446 MB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.1644, allocations: 12 kB / 446 MB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.1645, allocations: 60.39 kB / 446 MB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.1645, allocations: 31.86 kB / 446.1 MB, free: 9.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008255/0.1654, allocations: 0.9929 MB / 447 MB, free: 8.055 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1654, allocations: 4 kB / 447.1 MB, free: 8.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002426/0.1678, allocations: 0.8436 MB / 447.9 MB, free: 7.207 MB / 426.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.0002949/0.1681, allocations: 140.1 kB / 448 MB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.1707, allocations: 2.109 MB / 450.1 MB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001469/0.1709, allocations: 92.09 kB / 450.2 MB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004607/0.1713, allocations: 413.5 kB / 450.6 MB, free: 4.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.1727, allocations: 490 kB / 451.1 MB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1276/0.3003, allocations: 5.952 MB / 457.1 MB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.3014, allocations: 1.021 MB / 458.1 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001139/0.3026, allocations: 408.2 kB / 458.5 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.3031, allocations: 445.9 kB / 458.9 MB, free: 122 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3031, allocations: 0 / 458.9 MB, free: 122 MB / 426.7 MB Notification: Performance of Templates: time 0.03396/0.3371, allocations: 24.3 MB / 483.2 MB, free: 106.6 MB / 426.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8154440317302942]