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.0009304/0.0009304, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001004/0.001004, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9708/0.9708, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2756/0.2756, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.583e-06/1.583e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.418e-05, allocations: 3.781 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007293/0.007317, allocations: 8.994 MB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006634/0.01395, allocations: 3.846 MB / 336.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.01521, allocations: 63.69 kB / 336.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.01785, allocations: 2.453 MB / 338.6 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.02109, allocations: 1.711 MB / 340.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.02233, allocations: 0.7678 MB / 341.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004559/0.02689, allocations: 4.189 MB / 345.3 MB, free: 3.598 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/0.03017, allocations: 2.722 MB / 348 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.03389, allocations: 2.491 MB / 350.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.03623, allocations: 1.785 MB / 352.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006214/0.03685, allocations: 284 kB / 352.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.0385, allocations: 1.096 MB / 353.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.03976, allocations: 1.702 MB / 355.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.04104, allocations: 1.051 MB / 356.4 MB, free: 8.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004501/0.04554, allocations: 4.083 MB / 360.5 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.04555, allocations: 3.984 kB / 360.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.04555, allocations: 0 / 360.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.04566, allocations: 0 / 360.5 MB, free: 4.277 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.004959/0.05061, allocations: 3.88 MB / 364.4 MB, free: 356 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.05065, allocations: 12.03 kB / 364.4 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/0.0534, allocations: 0.9684 MB / 365.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.05559, allocations: 1.641 MB / 367 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.05569, allocations: 193.3 kB / 367.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.05602, allocations: 256.2 kB / 367.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004986/0.06101, allocations: 4.187 MB / 371.6 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.06109, allocations: 39.69 kB / 371.6 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005406/0.06163, allocations: 123.9 kB / 371.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001299/0.06293, allocations: 1.481 MB / 373.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/0.06736, allocations: 2.087 MB / 375.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02438/0.09174, allocations: 26.79 MB / 402.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.09438, allocations: 1.154 MB / 403.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.09475, allocations: 244.1 kB / 403.5 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003849/0.0986, allocations: 2.494 MB / 406 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.09864, allocations: 42.88 kB / 406 MB, free: 4.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 2.846e-06/0.09864, allocations: 4 kB / 406.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.0105/0.1091, allocations: 3.873 MB / 409.9 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.1092, allocations: 170.7 kB / 410.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.1119, allocations: 2.783 MB / 412.9 MB, free: 13.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.1119, allocations: 37.7 kB / 412.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.1135, allocations: 2.72 MB / 415.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.1139, allocations: 472.5 kB / 416.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009288/0.1149, allocations: 1.001 MB / 417.1 MB, free: 9.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.1149, allocations: 301.1 kB / 417.4 MB, free: 9.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.116, allocations: 0.6266 MB / 418 MB, free: 8.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/0.1187, allocations: 3.918 MB / 421.9 MB, free: 3.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.1227, allocations: 4.971 MB / 426.9 MB, free: 12.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.311e-05/0.1228, allocations: 36 kB / 426.9 MB, free: 12.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004532/0.1274, allocations: 3.662 MB / 430.6 MB, free: 8.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.1274, allocations: 56 kB / 430.7 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.536e-05/0.1275, allocations: 120.1 kB / 430.8 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.1283, allocations: 343.7 kB / 431.1 MB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.1301, allocations: 1.158 MB / 432.3 MB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.1322, allocations: 2.157 MB / 434.4 MB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.1343, allocations: 235.7 kB / 434.7 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.1346, allocations: 280 kB / 434.9 MB, free: 4.258 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.001093/0.1357, allocations: 0.5472 MB / 435.5 MB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.136, allocations: 167.7 kB / 435.6 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/0.137, allocations: 0.6519 MB / 436.3 MB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.137, allocations: 12 kB / 436.3 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.137, allocations: 7.984 kB / 436.3 MB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.137, allocations: 3.984 kB / 436.3 MB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.1412, allocations: 2.955 MB / 439.3 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.1412, allocations: 8.031 kB / 439.3 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.1416, allocations: 119.8 kB / 439.4 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007404/0.1423, allocations: 336.1 kB / 439.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.1424, allocations: 16 kB / 439.7 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.1442, allocations: 1.904 MB / 441.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1442, allocations: 0 / 441.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.1458, allocations: 1.384 MB / 443 MB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/0.1464, allocations: 250.1 kB / 443.3 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.1466, allocations: 16 kB / 443.3 MB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/0.1473, allocations: 23.97 kB / 443.3 MB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1474, allocations: 56.34 kB / 443.4 MB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.1475, allocations: 31.92 kB / 443.4 MB, free: 11.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.1487, allocations: 0.989 MB / 444.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1487, allocations: 0 / 444.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003185/0.1519, allocations: 0.8475 MB / 445.2 MB, free: 9.711 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.0003555/0.1522, allocations: 137.6 kB / 445.4 MB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002666/0.1549, allocations: 2.109 MB / 447.5 MB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001527/0.1551, allocations: 96.09 kB / 447.6 MB, free: 7.352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.1556, allocations: 409.3 kB / 448 MB, free: 6.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.1573, allocations: 0.4986 MB / 448.5 MB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/0.1651, allocations: 5.94 MB / 454.4 MB, free: 420 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.149/0.3141, allocations: 1.014 MB / 455.4 MB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001273/0.3154, allocations: 407.4 kB / 455.8 MB, free: 124.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.3159, allocations: 442.8 kB / 456.2 MB, free: 124.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3159, allocations: 0 / 456.2 MB, free: 124.7 MB / 426.7 MB Notification: Performance of Templates: time 0.03528/0.3512, allocations: 24.33 MB / 480.6 MB, free: 110.4 MB / 426.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.00731320027262]