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.0009654/0.0009654, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002507, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009187/0.0009187, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.00216, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.042/1.042, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1162/1.158, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.2555/0.2555, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02356/0.2791, allocations: 13.24 MB / 292.8 MB, free: 6.41 MB / 282.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.182e-06/1.182e-06, allocations: 0 / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.877e-05, allocations: 2.969 kB / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007273/0.007292, allocations: 9.116 MB / 303.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.01221, allocations: 3.875 MB / 307.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004955/0.0127, allocations: 59.75 kB / 307.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.01476, allocations: 2.332 MB / 309.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.0166, allocations: 1.684 MB / 311.2 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.01736, allocations: 0.707 MB / 311.9 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.02021, allocations: 3.929 MB / 315.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.022, allocations: 2.45 MB / 318.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.02402, allocations: 2.404 MB / 320.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.02543, allocations: 1.777 MB / 322.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.02569, allocations: 284 kB / 322.7 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.02688, allocations: 1.139 MB / 323.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008691/0.02775, allocations: 1.52 MB / 325.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.02843, allocations: 0.8685 MB / 326.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.03107, allocations: 3.768 MB / 330 MB, free: 1.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.03108, allocations: 0 / 330 MB, free: 1.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.03108, allocations: 0 / 330 MB, free: 1.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.03111, allocations: 0 / 330 MB, free: 1.02 MB / 314.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.004043/0.03516, allocations: 4.671 MB / 334.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.03519, allocations: 12.91 kB / 334.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.0374, allocations: 0.9606 MB / 335.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.03999, allocations: 1.641 MB / 337.3 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.04018, allocations: 197.3 kB / 337.5 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008134/0.041, allocations: 256.2 kB / 337.7 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00575/0.04675, allocations: 4.183 MB / 341.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.22e-05/0.04684, allocations: 35.7 kB / 342 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/0.0471, allocations: 127.8 kB / 342.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001203/0.0483, allocations: 1.388 MB / 343.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.05247, allocations: 2.095 MB / 345.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/0.07553, allocations: 26.78 MB / 372.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.07798, allocations: 1.132 MB / 373.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.07828, allocations: 244.9 kB / 373.7 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002955/0.08124, allocations: 2.482 MB / 376.2 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.08127, allocations: 38.94 kB / 376.2 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 2.575e-06/0.08127, allocations: 0 / 376.2 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.009835/0.09111, allocations: 3.863 MB / 380.1 MB, free: 13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.09116, allocations: 141 kB / 380.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.09347, allocations: 2.783 MB / 383 MB, free: 10.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.09353, allocations: 41.69 kB / 383.1 MB, free: 9.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.09492, allocations: 2.716 MB / 385.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.09529, allocations: 464.6 kB / 386.2 MB, free: 6.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008398/0.09613, allocations: 1.005 MB / 387.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.09622, allocations: 309.1 kB / 387.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/0.09713, allocations: 0.6266 MB / 388.2 MB, free: 4.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.09964, allocations: 3.917 MB / 392.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.1038, allocations: 5.38 MB / 397.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.99e-05/0.1039, allocations: 32 kB / 397.5 MB, free: 8.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004339/0.1082, allocations: 3.66 MB / 401.2 MB, free: 4.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.1083, allocations: 58.81 kB / 401.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-05/0.1084, allocations: 136.1 kB / 401.3 MB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007959/0.1092, allocations: 339.8 kB / 401.7 MB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.1112, allocations: 1.279 MB / 403 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.1132, allocations: 2.149 MB / 405.1 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.1154, allocations: 235.7 kB / 405.3 MB, free: 124 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/0.1157, allocations: 280.1 kB / 405.6 MB, free: 15.84 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.001059/0.1167, allocations: 0.5471 MB / 406.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.1171, allocations: 167.7 kB / 406.3 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.1181, allocations: 0.6403 MB / 407 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.1182, allocations: 15.97 kB / 407 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1182, allocations: 4 kB / 407 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1182, allocations: 3.984 kB / 407 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.1225, allocations: 2.959 MB / 409.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.1225, allocations: 16.02 kB / 410 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.123, allocations: 131.8 kB / 410.1 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.1235, allocations: 250 kB / 410.3 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007411/0.1243, allocations: 336.1 kB / 410.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.1243, allocations: 16 kB / 410.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.1259, allocations: 1.911 MB / 412.6 MB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1259, allocations: 0 / 412.6 MB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.1274, allocations: 1.398 MB / 414 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.1276, allocations: 19.98 kB / 414 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.1281, allocations: 16 kB / 414 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1282, allocations: 60.33 kB / 414.1 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.1283, allocations: 27.94 kB / 414.1 MB, free: 7.109 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009736/0.1292, allocations: 0.9851 MB / 415.1 MB, free: 6.121 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1292, allocations: 0 / 415.1 MB, free: 6.121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002661/0.1319, allocations: 0.8553 MB / 415.9 MB, free: 5.266 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.0003152/0.1322, allocations: 140.1 kB / 416.1 MB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.135, allocations: 2.219 MB / 418.3 MB, free: 2.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001575/0.1352, allocations: 96.16 kB / 418.4 MB, free: 2.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.1357, allocations: 451 kB / 418.8 MB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.1381, allocations: 2.382 MB / 421.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.1484, allocations: 6.102 MB / 427.3 MB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009663/0.1493, allocations: 1.026 MB / 428.3 MB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.1504, allocations: 414.3 kB / 428.7 MB, free: 8.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.151, allocations: 425.2 kB / 429.2 MB, free: 7.598 MB / 426.7 MB Notification: Performance of SimCode: time 2.665e-06/0.151, allocations: 0 / 429.2 MB, free: 7.598 MB / 426.7 MB Notification: Performance of Templates: time 0.1815/0.3325, allocations: 23.1 MB / 452.3 MB, free: 116.1 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.649200533516705]