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.001385/0.001385, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001506/0.001506, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9764/0.9764, 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.2516/0.2516, allocations: 34.86 MB / 296.6 MB, free: 464 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.603e-06/1.603e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.547e-05, allocations: 9.266 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01008/0.01011, allocations: 8.994 MB / 334.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.01857, allocations: 3.848 MB / 338.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.02034, allocations: 63.69 kB / 338.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.02398, allocations: 2.441 MB / 341.3 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.02782, allocations: 1.723 MB / 343 MB, free: 5.992 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.0293, allocations: 0.7757 MB / 343.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004787/0.03409, allocations: 4.187 MB / 348 MB, free: 1.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.03704, allocations: 2.718 MB / 350.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.04051, allocations: 2.495 MB / 353.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.04299, allocations: 1.781 MB / 355 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005496/0.04353, allocations: 280 kB / 355.2 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.04515, allocations: 1.1 MB / 356.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.04651, allocations: 1.699 MB / 358 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.04786, allocations: 1.051 MB / 359.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.0528, allocations: 4.087 MB / 363.2 MB, free: 1.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.0528, allocations: 4 kB / 363.2 MB, free: 1.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0528, allocations: 0 / 363.2 MB, free: 1.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.05292, allocations: 0 / 363.2 MB, free: 1.707 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.006085/0.059, allocations: 3.873 MB / 367 MB, free: 13.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.05904, allocations: 12.02 kB / 367.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.06241, allocations: 0.9723 MB / 368 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.06527, allocations: 1.641 MB / 369.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.0654, allocations: 197.3 kB / 369.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.06583, allocations: 260.2 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006097/0.07193, allocations: 4.186 MB / 374.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.58e-05/0.07202, allocations: 39.67 kB / 374.3 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.07232, allocations: 123.9 kB / 374.5 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0018/0.07412, allocations: 1.481 MB / 375.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006887/0.08101, allocations: 2.08 MB / 378 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03087/0.1119, allocations: 26.78 MB / 404.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.1143, allocations: 1.157 MB / 406 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.1146, allocations: 247.6 kB / 406.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002831/0.1174, allocations: 2.502 MB / 408.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1174, allocations: 42.94 kB / 408.7 MB, free: 2.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 2.364e-06/0.1174, allocations: 0 / 408.7 MB, free: 2.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.008905/0.1264, allocations: 3.864 MB / 412.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1264, allocations: 170.7 kB / 412.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.1283, allocations: 2.783 MB / 415.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.1284, allocations: 41.7 kB / 415.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.1295, allocations: 2.72 MB / 418.3 MB, free: 8.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.1297, allocations: 464.6 kB / 418.8 MB, free: 8.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007535/0.1305, allocations: 0.9969 MB / 419.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.1305, allocations: 309.1 kB / 420.1 MB, free: 6.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008562/0.1314, allocations: 0.6227 MB / 420.7 MB, free: 6.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.1336, allocations: 3.921 MB / 424.6 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003347/0.1369, allocations: 4.972 MB / 429.6 MB, free: 9.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.676e-05/0.137, allocations: 36 kB / 429.6 MB, free: 9.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003884/0.1409, allocations: 3.667 MB / 433.3 MB, free: 6.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.1409, allocations: 56 kB / 433.3 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.412e-05/0.141, allocations: 120 kB / 433.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007682/0.1417, allocations: 344.1 kB / 433.8 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.1434, allocations: 1.15 MB / 434.9 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.1452, allocations: 2.157 MB / 437.1 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.1469, allocations: 239.8 kB / 437.3 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.1471, allocations: 284 kB / 437.6 MB, free: 1.695 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.0008482/0.148, allocations: 0.5316 MB / 438.1 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.1482, allocations: 171.8 kB / 438.3 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009137/0.1491, allocations: 0.6596 MB / 439 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.1491, allocations: 12 kB / 439 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1491, allocations: 4 kB / 439 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1491, allocations: 3.984 kB / 439 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/0.1528, allocations: 2.955 MB / 441.9 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.1528, allocations: 7.984 kB / 442 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.1531, allocations: 115.8 kB / 442.1 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007629/0.1539, allocations: 332.3 kB / 442.4 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.1539, allocations: 20 kB / 442.4 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.1554, allocations: 1.913 MB / 444.3 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1554, allocations: 4 kB / 444.3 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.1568, allocations: 1.39 MB / 445.7 MB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.1571, allocations: 242.1 kB / 446 MB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.1572, allocations: 20 kB / 446 MB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.1577, allocations: 12 kB / 446 MB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.1577, allocations: 72.25 kB / 446.1 MB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.1578, allocations: 28.03 kB / 446.1 MB, free: 8.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007921/0.1586, allocations: 0.989 MB / 447.1 MB, free: 7.996 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1586, allocations: 0 / 447.1 MB, free: 7.996 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00234/0.1609, allocations: 0.8475 MB / 447.9 MB, free: 7.148 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.0002821/0.1612, allocations: 140.1 kB / 448.1 MB, free: 7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.1634, allocations: 2.106 MB / 450.2 MB, free: 4.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001396/0.1635, allocations: 92.28 kB / 450.3 MB, free: 4.789 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.1639, allocations: 407.8 kB / 450.7 MB, free: 4.371 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.1652, allocations: 0.4895 MB / 451.1 MB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1449/0.3101, allocations: 5.948 MB / 457.1 MB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/0.3109, allocations: 1.017 MB / 458.1 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001104/0.312, allocations: 414.2 kB / 458.5 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.3125, allocations: 443.3 kB / 458.9 MB, free: 122 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/0.3125, allocations: 0 / 458.9 MB, free: 122 MB / 426.7 MB Notification: Performance of Templates: time 0.03197/0.3445, allocations: 24.31 MB / 483.3 MB, free: 106.7 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 -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.841195280198008]