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.001086/0.001086, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001271/0.001271, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9653/0.9653, allocations: 177 MB / 205.9 MB, free: 4.465 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.1688/0.1688, allocations: 34.88 MB / 297.4 MB, free: 13.43 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.422e-06/1.422e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.848e-05, allocations: 2.312 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007761/0.00778, allocations: 8.992 MB / 389 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005502/0.01328, allocations: 3.704 MB / 392.7 MB, free: 10 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008663/0.01415, allocations: 63.69 kB / 392.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.01662, allocations: 2.426 MB / 395.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.01912, allocations: 1.703 MB / 396.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.02011, allocations: 0.7639 MB / 397.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.02321, allocations: 4.208 MB / 401.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.0255, allocations: 2.652 MB / 404.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/0.03128, allocations: 2.503 MB / 407 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004996/0.03628, allocations: 1.874 MB / 408.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.03664, allocations: 284 kB / 409.2 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.03812, allocations: 1.108 MB / 410.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.04031, allocations: 1.699 MB / 412 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009351/0.04124, allocations: 1.055 MB / 413 MB, free: 5.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.05021, allocations: 4.083 MB / 417.1 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.05021, allocations: 0 / 417.1 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05021, allocations: 0 / 417.1 MB, free: 1.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.05024, allocations: 0 / 417.1 MB, free: 1.473 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.009479/0.05972, allocations: 4.4 MB / 421.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.05975, allocations: 8.031 kB / 421.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.06434, allocations: 1.485 MB / 423 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.06666, allocations: 1.781 MB / 424.8 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.06678, allocations: 197.3 kB / 425 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.06715, allocations: 268.2 kB / 425.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005481/0.07263, allocations: 4.645 MB / 429.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.152e-05/0.07271, allocations: 43.62 kB / 429.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.07299, allocations: 123.9 kB / 430.1 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001618/0.0746, allocations: 1.477 MB / 431.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004169/0.07877, allocations: 2.052 MB / 433.6 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02493/0.1037, allocations: 37.12 MB / 470.7 MB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.1061, allocations: 1.124 MB / 471.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.1065, allocations: 323.1 kB / 472.2 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002931/0.1094, allocations: 2.674 MB / 474.8 MB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1094, allocations: 53.64 kB / 474.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.324e-06/0.1094, allocations: 0 / 474.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.009834/0.1193, allocations: 4.231 MB / 479.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1193, allocations: 166.7 kB / 479.3 MB, free: 0.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.1218, allocations: 3.128 MB / 482.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.1218, allocations: 37.7 kB / 482.4 MB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.1232, allocations: 3.045 MB / 485.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.1235, allocations: 492.6 kB / 486 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009095/0.1245, allocations: 1.179 MB / 487.1 MB, free: 8.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1246, allocations: 480.7 kB / 487.6 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.1252, allocations: 474 kB / 488.1 MB, free: 8.023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.1281, allocations: 5.549 MB / 493.6 MB, free: 124 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1645/0.2927, allocations: 6.559 MB / 0.4885 GB, free: 96.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/0.2928, allocations: 34.62 kB / 0.4885 GB, free: 96.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.008617/0.3014, allocations: 4.29 MB / 0.4927 GB, free: 95.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/0.3015, allocations: 60.34 kB / 0.4927 GB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/0.3016, allocations: 120.8 kB / 0.4929 GB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3027, allocations: 341.3 kB / 0.4932 GB, free: 95.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.305, allocations: 1.16 MB / 0.4943 GB, free: 95.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.3069, allocations: 2.717 MB / 0.497 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.3089, allocations: 231.4 kB / 0.4972 GB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.3091, allocations: 284.2 kB / 0.4975 GB, free: 93.78 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.001202/0.3103, allocations: 0.5958 MB / 0.498 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.3106, allocations: 304.5 kB / 0.4983 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3117, allocations: 0.7111 MB / 0.499 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.3117, allocations: 9.844 kB / 0.499 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3117, allocations: 3.25 kB / 0.499 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3117, allocations: 5.891 kB / 0.499 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/0.316, allocations: 3.491 MB / 0.5024 GB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.316, allocations: 4 kB / 0.5025 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.3163, allocations: 116.4 kB / 0.5026 GB, free: 92.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/0.3169, allocations: 184.2 kB / 0.5027 GB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.3169, allocations: 20.66 kB / 0.5028 GB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.3184, allocations: 2.475 MB / 0.5052 GB, free: 89.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3184, allocations: 0 / 0.5052 GB, free: 89.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.3199, allocations: 1.643 MB / 0.5068 GB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.3202, allocations: 263.5 kB / 0.507 GB, free: 88.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.3204, allocations: 18.75 kB / 0.507 GB, free: 88.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.3208, allocations: 22.34 kB / 0.5071 GB, free: 88.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.3209, allocations: 61.91 kB / 0.5071 GB, free: 88.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.321, allocations: 27.16 kB / 0.5072 GB, free: 88.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.3221, allocations: 1.237 MB / 0.5084 GB, free: 87.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3221, allocations: 0.7656 kB / 0.5084 GB, free: 87.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002938/0.325, allocations: 0.8434 MB / 0.5092 GB, free: 86.7 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.0003295/0.3253, allocations: 163.4 kB / 0.5093 GB, free: 86.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.3284, allocations: 2.324 MB / 0.5116 GB, free: 84.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3284, allocations: 0 / 0.5116 GB, free: 84.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.3291, allocations: 0.5005 MB / 0.5121 GB, free: 84.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.3308, allocations: 337.8 kB / 0.5124 GB, free: 83.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.3405, allocations: 6.026 MB / 0.5183 GB, free: 78.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.3415, allocations: 1.027 MB / 0.5193 GB, free: 77.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001417/0.343, allocations: 410.6 kB / 0.5197 GB, free: 77.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007086/0.3437, allocations: 482.1 kB / 0.5202 GB, free: 76.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3437, allocations: 0 / 0.5202 GB, free: 76.57 MB / 410.7 MB Notification: Performance of Templates: time 0.03844/0.3821, allocations: 24.9 MB / 0.5445 GB, free: 52.18 MB / 410.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: 4.445821747649461]