Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009848/0.0009848, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001221/0.001221, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9671/0.9671, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1367/0.1367, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.105e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.006684/0.006705, allocations: 8.981 MB / 388.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.01212, allocations: 3.708 MB / 392 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.01331, allocations: 63.69 kB / 392.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.01554, allocations: 2.422 MB / 394.5 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.01864, allocations: 1.703 MB / 396.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.01972, allocations: 0.7756 MB / 397 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.02345, allocations: 4.201 MB / 401.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.02626, allocations: 2.656 MB / 403.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/0.02971, allocations: 2.503 MB / 406.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.03201, allocations: 1.878 MB / 408.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005187/0.03253, allocations: 284 kB / 408.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.03401, allocations: 1.104 MB / 409.6 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.0352, allocations: 1.702 MB / 411.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.0364, allocations: 1.055 MB / 412.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.04087, allocations: 4.083 MB / 416.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.04087, allocations: 0 / 416.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.04088, allocations: 0 / 416.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00013/0.04101, allocations: 0 / 416.4 MB, free: 2.117 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.006213/0.04722, allocations: 4.398 MB / 420.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.04726, allocations: 12.03 kB / 420.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003939/0.0512, allocations: 1.477 MB / 422.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.05397, allocations: 1.785 MB / 424.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.05408, allocations: 197.3 kB / 424.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004286/0.05451, allocations: 260.2 kB / 424.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006378/0.06089, allocations: 4.654 MB / 429.2 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-05/0.06097, allocations: 43.62 kB / 429.2 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.06124, allocations: 123.9 kB / 429.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001286/0.06252, allocations: 1.481 MB / 430.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/0.06706, allocations: 2.039 MB / 432.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02697/0.09403, allocations: 37.1 MB / 470 MB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.09668, allocations: 1.139 MB / 471.1 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.09708, allocations: 318.2 kB / 471.4 MB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003174/0.1003, allocations: 2.689 MB / 474.1 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1003, allocations: 45.7 kB / 474.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.745e-06/0.1003, allocations: 0 / 474.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.01212/0.1124, allocations: 4.248 MB / 478.4 MB, free: 1.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1125, allocations: 162.7 kB / 478.6 MB, free: 1.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.1161, allocations: 3.12 MB / 481.7 MB, free: 14.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.1161, allocations: 37.7 kB / 481.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.118, allocations: 3.052 MB / 484.8 MB, free: 11.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005112/0.1185, allocations: 480.6 kB / 485.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.1198, allocations: 1.179 MB / 486.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1199, allocations: 476.8 kB / 486.9 MB, free: 9.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009506/0.1208, allocations: 478 kB / 487.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/0.1246, allocations: 5.549 MB / 492.9 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1529/0.2775, allocations: 6.561 MB / 499.5 MB, free: 97.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.566e-05/0.2775, allocations: 35.78 kB / 499.5 MB, free: 97.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006497/0.284, allocations: 4.294 MB / 0.492 GB, free: 96.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.2841, allocations: 58.53 kB / 0.492 GB, free: 96.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.2842, allocations: 124.5 kB / 0.4922 GB, free: 96.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007806/0.285, allocations: 343.7 kB / 0.4925 GB, free: 96.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.2868, allocations: 1.152 MB / 0.4936 GB, free: 96.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.2886, allocations: 2.713 MB / 0.4963 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.2905, allocations: 246.7 kB / 0.4965 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.2908, allocations: 284.7 kB / 0.4968 GB, free: 94.71 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.0008654/0.2916, allocations: 0.5838 MB / 0.4973 GB, free: 94.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.292, allocations: 303.3 kB / 0.4976 GB, free: 94.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009814/0.293, allocations: 0.7055 MB / 0.4983 GB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.293, allocations: 23.97 kB / 0.4983 GB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.293, allocations: 3.688 kB / 0.4983 GB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.293, allocations: 3.797 kB / 0.4983 GB, free: 94.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.2973, allocations: 3.488 MB / 0.5018 GB, free: 93.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2973, allocations: 4.656 kB / 0.5018 GB, free: 93.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.2976, allocations: 116.7 kB / 0.5019 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/0.2981, allocations: 186.4 kB / 0.502 GB, free: 93.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.2982, allocations: 18.62 kB / 0.5021 GB, free: 93.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.2996, allocations: 2.48 MB / 0.5045 GB, free: 91.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2996, allocations: 4 kB / 0.5045 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.301, allocations: 1.638 MB / 0.5061 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.3014, allocations: 254.3 kB / 0.5063 GB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.3015, allocations: 18 kB / 0.5063 GB, free: 89.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.302, allocations: 19.94 kB / 0.5064 GB, free: 89.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.3021, allocations: 65.42 kB / 0.5064 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.3021, allocations: 30.03 kB / 0.5065 GB, free: 89.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009367/0.303, allocations: 1.235 MB / 0.5077 GB, free: 88.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.303, allocations: 0 / 0.5077 GB, free: 88.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002682/0.3057, allocations: 0.8504 MB / 0.5085 GB, free: 87.83 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.000287/0.306, allocations: 163.7 kB / 0.5087 GB, free: 87.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.3084, allocations: 2.32 MB / 0.5109 GB, free: 85.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3084, allocations: 6.312 kB / 0.5109 GB, free: 85.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.3089, allocations: 0.4949 MB / 0.5114 GB, free: 85.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.31, allocations: 332.5 kB / 0.5117 GB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/0.3166, allocations: 6.029 MB / 0.5176 GB, free: 79.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.3175, allocations: 1.032 MB / 0.5186 GB, free: 78.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009446/0.3184, allocations: 410.1 kB / 0.519 GB, free: 78.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.3189, allocations: 478.1 kB / 0.5195 GB, free: 77.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3189, allocations: 0 / 0.5195 GB, free: 77.76 MB / 410.7 MB Notification: Performance of Templates: time 0.03415/0.353, allocations: 24.89 MB / 0.5438 GB, free: 53.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.224434094037861]