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.0009939/0.0009939, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001186/0.001186, allocations: 167.9 kB / 24.91 MB, free: 9.184 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.9785/0.9785, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2917/0.2917, allocations: 32.8 MB / 294.6 MB, free: 1.262 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 2.796e-06/2.796e-06, allocations: 7.922 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.404e-05, allocations: 2.312 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007877/0.007901, allocations: 9.039 MB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.01469, allocations: 3.839 MB / 336.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008906/0.01558, allocations: 63.69 kB / 336.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.01826, allocations: 2.41 MB / 338.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.02083, allocations: 1.688 MB / 340.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.02213, allocations: 0.7639 MB / 341.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.0256, allocations: 4.19 MB / 345.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.02776, allocations: 2.609 MB / 347.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.02998, allocations: 2.46 MB / 350.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.0316, allocations: 1.777 MB / 352.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.0319, allocations: 284 kB / 352.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.0332, allocations: 1.147 MB / 353.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.03441, allocations: 1.699 MB / 355.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.03522, allocations: 1.055 MB / 356.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.03839, allocations: 4.083 MB / 360.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.03839, allocations: 4 kB / 360.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0384, allocations: 0 / 360.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.805e-05/0.03848, allocations: 0 / 360.4 MB, free: 4.355 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.004194/0.04268, allocations: 3.873 MB / 364.3 MB, free: 444 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.04271, allocations: 8.031 kB / 364.3 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.04524, allocations: 0.9723 MB / 365.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.0471, allocations: 1.641 MB / 366.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/0.0472, allocations: 193.3 kB / 367.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.0475, allocations: 264.2 kB / 367.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/0.05162, allocations: 4.183 MB / 371.5 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.99e-05/0.05169, allocations: 43.62 kB / 371.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.0519, allocations: 127.9 kB / 371.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001201/0.0531, allocations: 1.474 MB / 373.2 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.05628, allocations: 2.081 MB / 375.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0186/0.07488, allocations: 26.78 MB / 402 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.07733, allocations: 1.162 MB / 403.2 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.07763, allocations: 246.9 kB / 403.4 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003148/0.08078, allocations: 2.494 MB / 405.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.08081, allocations: 46.88 kB / 406 MB, free: 4.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 2.726e-06/0.08081, allocations: 0 / 406 MB, free: 4.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.009496/0.09031, allocations: 3.882 MB / 409.8 MB, free: 1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.09038, allocations: 170.7 kB / 410 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.0928, allocations: 2.783 MB / 412.8 MB, free: 13.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.09285, allocations: 37.7 kB / 412.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.09395, allocations: 2.72 MB / 415.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.09422, allocations: 472.6 kB / 416 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000764/0.09498, allocations: 0.9969 MB / 417 MB, free: 9.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.09505, allocations: 301.1 kB / 417.3 MB, free: 9.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009024/0.09596, allocations: 0.6343 MB / 417.9 MB, free: 8.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.09849, allocations: 3.918 MB / 421.8 MB, free: 3.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.102, allocations: 4.981 MB / 426.8 MB, free: 12.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.969e-05/0.1021, allocations: 32 kB / 426.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003886/0.106, allocations: 3.662 MB / 430.5 MB, free: 8.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.106, allocations: 60.25 kB / 430.6 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003556/0.1064, allocations: 124 kB / 430.7 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006873/0.107, allocations: 343.8 kB / 431 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.1088, allocations: 1.197 MB / 432.2 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.1106, allocations: 2.153 MB / 434.4 MB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.1122, allocations: 235.7 kB / 434.6 MB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.1124, allocations: 288 kB / 434.9 MB, free: 4.277 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.0008696/0.1133, allocations: 0.5433 MB / 435.4 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.1135, allocations: 167.8 kB / 435.6 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000931/0.1144, allocations: 0.6557 MB / 436.3 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.1144, allocations: 12 kB / 436.3 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1144, allocations: 0 / 436.3 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1145, allocations: 11.98 kB / 436.3 MB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/0.1183, allocations: 2.951 MB / 439.2 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1184, allocations: 4 kB / 439.2 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.1187, allocations: 123.8 kB / 439.4 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007013/0.1194, allocations: 336.2 kB / 439.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.1194, allocations: 16 kB / 439.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.1209, allocations: 1.904 MB / 441.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.1209, allocations: 8 kB / 441.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.1223, allocations: 1.392 MB / 443 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.1226, allocations: 246.1 kB / 443.3 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.1227, allocations: 16 kB / 443.3 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.1231, allocations: 16 kB / 443.3 MB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.1232, allocations: 56.39 kB / 443.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.1233, allocations: 27.94 kB / 443.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007943/0.1241, allocations: 0.9929 MB / 444.4 MB, free: 10.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1241, allocations: 0 / 444.4 MB, free: 10.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002667/0.1267, allocations: 0.8475 MB / 445.2 MB, free: 9.73 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.0003249/0.1271, allocations: 148.2 kB / 445.4 MB, free: 9.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.1294, allocations: 2.112 MB / 447.5 MB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001432/0.1295, allocations: 93.53 kB / 447.6 MB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.1299, allocations: 404.2 kB / 447.9 MB, free: 6.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.1312, allocations: 0.4913 MB / 448.4 MB, free: 6.461 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.1383, allocations: 5.949 MB / 454.4 MB, free: 436 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1366/0.2748, allocations: 1.017 MB / 455.4 MB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001484/0.2763, allocations: 407 kB / 455.8 MB, free: 124.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.2769, allocations: 441.4 kB / 456.2 MB, free: 124.6 MB / 426.7 MB Notification: Performance of SimCode: time 3.126e-06/0.2769, allocations: 0 / 456.2 MB, free: 124.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03302/0.3099, allocations: 24.31 MB / 480.5 MB, free: 110.3 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 -s gbode -gbm=radauIIA3 -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: 3.911091829650104]