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.001034/0.001034, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001051/0.001051, allocations: 166 kB / 24.99 MB, free: 9.328 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 1.13/1.13, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2794/0.2794, allocations: 34.26 MB / 296 MB, free: 0.7578 MB / 266.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 2.154e-06/2.154e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.566e-05, allocations: 6.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01189/0.01192, allocations: 9.184 MB / 387.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.02299, allocations: 3.734 MB / 390.9 MB, free: 5.977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.02428, allocations: 63.69 kB / 391 MB, free: 5.914 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.02704, allocations: 2.449 MB / 393.5 MB, free: 3.457 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.02983, allocations: 1.703 MB / 395.2 MB, free: 1.746 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.03106, allocations: 0.7678 MB / 395.9 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003505/0.03456, allocations: 4.191 MB / 400.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.03683, allocations: 2.656 MB / 402.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.03859, allocations: 1.98 MB / 404.8 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.04044, allocations: 1.913 MB / 406.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.04071, allocations: 288 kB / 406.9 MB, free: 5.891 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.04201, allocations: 1.108 MB / 408.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.04308, allocations: 1.699 MB / 409.8 MB, free: 3.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008223/0.0439, allocations: 1.067 MB / 410.8 MB, free: 2.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003744/0.04764, allocations: 4.091 MB / 414.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.04765, allocations: 0 / 414.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.04765, allocations: 0 / 414.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.571e-05/0.04768, allocations: 0 / 414.9 MB, free: 13.9 MB / 394.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.004904/0.05259, allocations: 4.535 MB / 419.4 MB, free: 9.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.05264, allocations: 8.031 kB / 419.5 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.05746, allocations: 2.417 MB / 421.9 MB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.05979, allocations: 2.078 MB / 424 MB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.439e-05/0.05988, allocations: 185.3 kB / 424.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.06018, allocations: 272.1 kB / 424.4 MB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/0.06641, allocations: 5.131 MB / 429.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/0.06647, allocations: 39.7 kB / 429.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.0667, allocations: 123.9 kB / 429.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001858/0.06856, allocations: 1.743 MB / 431.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004929/0.07349, allocations: 2.817 MB / 434.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1871/0.2606, allocations: 37.29 MB / 471.5 MB, free: 68.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/0.2639, allocations: 1.401 MB / 472.9 MB, free: 67.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.2646, allocations: 0.5416 MB / 473.5 MB, free: 67.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.2648, allocations: 95.7 kB / 473.6 MB, free: 67.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.2648, allocations: 57.33 kB / 473.6 MB, free: 67.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.707e-06/0.2648, allocations: 0 / 473.6 MB, free: 67.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.01917/0.284, allocations: 10.62 MB / 484.2 MB, free: 64.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.2841, allocations: 176.8 kB / 484.4 MB, free: 64.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.2868, allocations: 2.997 MB / 487.4 MB, free: 63.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/0.2869, allocations: 49.2 kB / 487.5 MB, free: 62.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.2881, allocations: 2.9 MB / 490.4 MB, free: 60.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.2885, allocations: 0.6627 MB / 491 MB, free: 60.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.2896, allocations: 1.183 MB / 492.2 MB, free: 59.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.2896, allocations: 476.8 kB / 492.7 MB, free: 59.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.2906, allocations: 0.6492 MB / 493.3 MB, free: 59.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.2933, allocations: 5.442 MB / 498.8 MB, free: 52.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/0.298, allocations: 6.692 MB / 0.4936 GB, free: 45.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-05/0.298, allocations: 31.66 kB / 0.4936 GB, free: 45.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.00781/0.3058, allocations: 5.258 MB / 0.4988 GB, free: 43.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.3059, allocations: 54.94 kB / 0.4988 GB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.306, allocations: 114.9 kB / 0.4989 GB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.3078, allocations: 0.7954 MB / 0.4997 GB, free: 43.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.3099, allocations: 1.218 MB / 0.5009 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.3136, allocations: 3.898 MB / 0.5047 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.3158, allocations: 339.3 kB / 0.505 GB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.3161, allocations: 326.7 kB / 0.5053 GB, free: 40.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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 (649): * Single equations (assignments): 645 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001109/0.3172, allocations: 0.5867 MB / 0.5059 GB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.3176, allocations: 322.4 kB / 0.5062 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/0.3203, allocations: 1.767 MB / 0.5079 GB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.3203, allocations: 16.84 kB / 0.508 GB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.3203, allocations: 6.906 kB / 0.508 GB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.3204, allocations: 6.328 kB / 0.508 GB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006831/0.3272, allocations: 5.184 MB / 0.513 GB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3272, allocations: 4.562 kB / 0.513 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.3278, allocations: 230.2 kB / 0.5133 GB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.3293, allocations: 0.6207 MB / 0.5139 GB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.3294, allocations: 37.17 kB / 0.5139 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/0.3328, allocations: 3.64 MB / 0.5175 GB, free: 33.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3328, allocations: 11.88 kB / 0.5175 GB, free: 33.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.336, allocations: 2.776 MB / 0.5202 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.3363, allocations: 269.6 kB / 0.5204 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.3365, allocations: 31.31 kB / 0.5205 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.3372, allocations: 129.2 kB / 0.5206 GB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.3373, allocations: 94.28 kB / 0.5207 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.3374, allocations: 36 kB / 0.5207 GB, free: 30.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.3385, allocations: 1.282 MB / 0.522 GB, free: 29.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3385, allocations: 0 / 0.522 GB, free: 29.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002647/0.3412, allocations: 0.9627 MB / 0.5229 GB, free: 28.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (115): * Single equations (assignments): 111 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003414/0.3415, allocations: 168.8 kB / 0.5231 GB, free: 28.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.345, allocations: 2.967 MB / 0.526 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.345, allocations: 0 / 0.526 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3461, allocations: 1.02 MB / 0.527 GB, free: 24.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3472, allocations: 339.1 kB / 0.5273 GB, free: 24.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.3538, allocations: 6.6 MB / 0.5337 GB, free: 18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.3546, allocations: 1.063 MB / 0.5348 GB, free: 16.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001719/0.3563, allocations: 1.417 MB / 0.5362 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.3567, allocations: 204.4 kB / 0.5363 GB, free: 15.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3567, allocations: 0 / 0.5363 GB, free: 15.3 MB / 410.7 MB Notification: Performance of Templates: time 0.03938/0.396, allocations: 31.92 MB / 0.5675 GB, free: 15.8 MB / 442.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.4905677400529385]