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.002006/0.002006, allocations: 74.42 kB / 21.24 MB, free: 0.5352 MB / 14.72 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.002642/0.002642, allocations: 165.2 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.444/1.444, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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.2111/0.2111, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 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 0.003529/0.003529, allocations: 79.88 kB / 443.2 MB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.418, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.009003/0.427, allocations: 8.385 MB / 0.5055 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006852/0.4338, allocations: 3.608 MB / 0.509 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.4357, allocations: 65.03 kB / 0.509 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.4394, allocations: 2.229 MB / 0.5112 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0043/0.4437, allocations: 1.654 MB / 0.5128 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.4456, allocations: 0.6938 MB / 0.5135 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006003/0.4516, allocations: 3.811 MB / 0.5172 GB, free: 18.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004453/0.4561, allocations: 2.3 MB / 0.5195 GB, free: 17.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.4594, allocations: 1.32 MB / 0.5208 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004305/0.4637, allocations: 1.752 MB / 0.5225 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.4651, allocations: 280.8 kB / 0.5227 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.4688, allocations: 1.059 MB / 0.5238 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003319/0.4721, allocations: 1.623 MB / 0.5254 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006306/0.4784, allocations: 1.361 MB / 0.5267 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.4928, allocations: 6.256 MB / 0.5328 GB, free: 11.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.4928, allocations: 0 / 0.5328 GB, free: 11.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4928, allocations: 0 / 0.5328 GB, free: 11.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002897/0.4931, allocations: 1.344 kB / 0.5328 GB, free: 11.76 MB / 446.1 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.01511/0.5082, allocations: 4.18 MB / 0.5369 GB, free: 8.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5083, allocations: 9.531 kB / 0.5369 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009223/0.5175, allocations: 2.076 MB / 0.5389 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.524, allocations: 2.277 MB / 0.5411 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.5242, allocations: 190.8 kB / 0.5413 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.5254, allocations: 264.7 kB / 0.5416 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/0.5431, allocations: 8.615 MB / 0.55 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/0.5433, allocations: 43.64 kB / 0.55 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.5444, allocations: 123.9 kB / 0.5502 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003955/0.5484, allocations: 1.743 MB / 0.5519 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.5674, allocations: 7.541 MB / 0.5592 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05021/0.6176, allocations: 32.1 MB / 0.5906 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007424/0.625, allocations: 2.589 MB / 0.5931 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002681/0.6277, allocations: 1.762 MB / 0.5948 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.628, allocations: 96.39 kB / 0.5949 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.6281, allocations: 55.27 kB / 0.595 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.979e-06/0.6281, allocations: 3.938 kB / 0.595 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04338/0.6714, allocations: 15.6 MB / 0.6102 GB, free: 12 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.6716, allocations: 167.2 kB / 0.6104 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005616/0.6772, allocations: 3.263 MB / 0.6136 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.6774, allocations: 53.69 kB / 0.6136 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00235/0.6798, allocations: 2.771 MB / 0.6163 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000831/0.6806, allocations: 0.6358 MB / 0.6169 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002081/0.6827, allocations: 1.111 MB / 0.618 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6828, allocations: 305.1 kB / 0.6183 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/0.6863, allocations: 2.119 MB / 0.6204 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006227/0.6925, allocations: 5.37 MB / 0.6256 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.7029, allocations: 8.041 MB / 0.6335 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/0.703, allocations: 32.19 kB / 0.6335 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01598/0.719, allocations: 8.244 MB / 0.6416 GB, free: 12.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.7191, allocations: 52 kB / 0.6416 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.7192, allocations: 116.8 kB / 0.6417 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003353/0.7226, allocations: 1.223 MB / 0.6429 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/0.7269, allocations: 1.216 MB / 0.6441 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.7383, allocations: 7.398 MB / 0.6513 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/0.7429, allocations: 307.6 kB / 0.6516 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/0.7441, allocations: 332 kB / 0.6519 GB, free: 1.848 MB / 0.545 GB 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.004299/0.7484, allocations: 1.856 MB / 0.6537 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007993/0.7492, allocations: 278.1 kB / 0.654 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007225/0.7564, allocations: 3.53 MB / 0.6575 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/0.7564, allocations: 16 kB / 0.6575 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.7565, allocations: 8 kB / 0.6575 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.7565, allocations: 11.97 kB / 0.6575 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.7721, allocations: 7.182 MB / 0.6645 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.7721, allocations: 7.984 kB / 0.6645 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.7733, allocations: 223.7 kB / 0.6647 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/0.7763, allocations: 1.062 MB / 0.6658 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/0.7766, allocations: 27.98 kB / 0.6658 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.7871, allocations: 7.059 MB / 0.6727 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7871, allocations: 3.984 kB / 0.6727 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.7985, allocations: 6.247 MB / 0.6788 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.7997, allocations: 250.1 kB / 0.679 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009679/0.8007, allocations: 31.88 kB / 0.6791 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.8027, allocations: 99.86 kB / 0.6792 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005002/0.8032, allocations: 92.75 kB / 0.6792 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/0.8034, allocations: 43.98 kB / 0.6793 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004866/0.8083, allocations: 1.889 MB / 0.6811 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.8083, allocations: 0 / 0.6811 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006682/0.815, allocations: 0.8749 MB / 0.682 GB, free: 2.855 MB / 0.5762 GB 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.0007681/0.8157, allocations: 151 kB / 0.6821 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009356/0.8251, allocations: 4.939 MB / 0.6869 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8251, allocations: 0 / 0.6869 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.8285, allocations: 1.749 MB / 0.6887 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.8313, allocations: 328.2 kB / 0.689 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/0.8517, allocations: 8.421 MB / 0.6972 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/0.8572, allocations: 2.333 MB / 0.6995 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.2694/1.127, allocations: 1.67 MB / 0.7011 GB, free: 165.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.128, allocations: 198.8 kB / 0.7013 GB, free: 165.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.522e-06/1.128, allocations: 0 / 0.7013 GB, free: 165.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.06197/1.19, allocations: 30.39 MB / 0.731 GB, free: 159.2 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.166103782015853]