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.001453/0.001453, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002055/0.003508, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0011/0.0011, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002501, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.12/1.12, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1301/1.25, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.354/0.354, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02991/0.384, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.703e-06/1.703e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.948e-05/4.119e-05, allocations: 5.438 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008534/0.008575, allocations: 9.114 MB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006246/0.01482, allocations: 3.874 MB / 303.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006023/0.01542, allocations: 63.69 kB / 303.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.01766, allocations: 2.328 MB / 306 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.02037, allocations: 1.695 MB / 307.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.0215, allocations: 0.6938 MB / 308.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.02494, allocations: 3.949 MB / 312.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.02681, allocations: 2.438 MB / 314.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.02882, allocations: 2.408 MB / 317.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.03032, allocations: 1.777 MB / 319 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.0306, allocations: 284 kB / 319.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.03171, allocations: 1.135 MB / 320.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000869/0.03258, allocations: 1.527 MB / 321.9 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.03326, allocations: 0.8724 MB / 322.8 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.03591, allocations: 3.764 MB / 326.5 MB, free: 4.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-05/0.03593, allocations: 0 / 326.5 MB, free: 4.207 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.03593, allocations: 0 / 326.5 MB, free: 4.207 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.205e-05/0.03599, allocations: 0 / 326.5 MB, free: 4.207 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.004392/0.04039, allocations: 4.674 MB / 331.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.04042, allocations: 8.031 kB / 331.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.04263, allocations: 0.9684 MB / 332.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.04466, allocations: 1.637 MB / 333.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.04479, allocations: 193.3 kB / 334 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000499/0.04529, allocations: 264.2 kB / 334.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005743/0.05103, allocations: 4.171 MB / 338.4 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-05/0.05113, allocations: 39.69 kB / 338.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.0514, allocations: 131.8 kB / 338.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001415/0.05282, allocations: 1.489 MB / 340.1 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005168/0.05799, allocations: 2.087 MB / 342.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02579/0.08378, allocations: 26.78 MB / 369 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/0.08761, allocations: 1.123 MB / 370.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.08811, allocations: 252.9 kB / 370.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00465/0.09276, allocations: 2.482 MB / 372.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.0928, allocations: 42.92 kB / 372.9 MB, free: 3.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 4.278e-06/0.0928, allocations: 0 / 372.9 MB, free: 3.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.0129/0.1057, allocations: 3.806 MB / 376.7 MB, free: 156 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.1058, allocations: 149 kB / 376.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.109, allocations: 2.779 MB / 379.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-05/0.1091, allocations: 33.7 kB / 379.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.1105, allocations: 2.72 MB / 382.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/0.111, allocations: 464.6 kB / 382.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.112, allocations: 1.005 MB / 383.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.1121, allocations: 301.1 kB / 384.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.1135, allocations: 0.6344 MB / 384.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.1163, allocations: 3.918 MB / 388.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005403/0.1217, allocations: 4.985 MB / 393.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.1218, allocations: 32 kB / 393.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.007319/0.1291, allocations: 3.657 MB / 397.3 MB, free: 7.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.1292, allocations: 56 kB / 397.4 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.1293, allocations: 124.2 kB / 397.5 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.1305, allocations: 347.3 kB / 397.8 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.1335, allocations: 1.271 MB / 399.1 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.136, allocations: 2.154 MB / 401.3 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.1391, allocations: 239.7 kB / 401.5 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003484/0.1426, allocations: 284 kB / 401.8 MB, free: 3.395 MB / 394.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.00147/0.1441, allocations: 0.5472 MB / 402.3 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/0.1446, allocations: 159.8 kB / 402.5 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.1462, allocations: 0.6558 MB / 403.1 MB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.1462, allocations: 12 kB / 403.1 MB, free: 2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1462, allocations: 4 kB / 403.1 MB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.1462, allocations: 3.984 kB / 403.1 MB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/0.1527, allocations: 2.951 MB / 406.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.1528, allocations: 0 / 406.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.1534, allocations: 135.8 kB / 406.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.1544, allocations: 246 kB / 406.5 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.1558, allocations: 340.1 kB / 406.8 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.1559, allocations: 16 kB / 406.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.1587, allocations: 1.904 MB / 408.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.1587, allocations: 8.031 kB / 408.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.1623, allocations: 1.396 MB / 410.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/0.1636, allocations: 16 kB / 410.1 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.1649, allocations: 20 kB / 410.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.1651, allocations: 60.33 kB / 410.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.1652, allocations: 27.92 kB / 410.2 MB, free: 10.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002347/0.1675, allocations: 0.9929 MB / 411.2 MB, free: 9.676 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.1675, allocations: 3.938 kB / 411.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006213/0.1737, allocations: 0.8475 MB / 412.1 MB, free: 8.824 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.0004624/0.1742, allocations: 148.2 kB / 412.2 MB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005441/0.1796, allocations: 2.113 MB / 414.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004498/0.1801, allocations: 96.16 kB / 414.4 MB, free: 6.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.1811, allocations: 405.3 kB / 414.8 MB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/0.1846, allocations: 0.6724 MB / 415.5 MB, free: 5.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/0.2048, allocations: 6.094 MB / 421.6 MB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/0.2075, allocations: 1.03 MB / 422.6 MB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003552/0.211, allocations: 410.3 kB / 423 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008074/0.2118, allocations: 445.2 kB / 423.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.685e-06/0.2118, allocations: 0 / 423.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of Templates: time 0.1985/0.4104, allocations: 24.78 MB / 448.3 MB, free: 121.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 -emit_protected -ignoreHideResult -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.429035264067352]