Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001634/0.001634, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001441/0.001441, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2541/0.2541, allocations: 46.9 MB / 361.1 MB, free: 4.734 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 79.86 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3519, allocations: 65.99 MB / 0.5612 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01159/0.3635, allocations: 9.541 MB / 0.5705 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007828/0.3714, allocations: 3.851 MB / 0.5743 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.3732, allocations: 51.88 kB / 0.5743 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004981/0.3782, allocations: 2.317 MB / 0.5766 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004896/0.3831, allocations: 1.642 MB / 0.5782 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.3854, allocations: 0.7018 MB / 0.5789 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006798/0.3922, allocations: 3.81 MB / 0.5826 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003631/0.3958, allocations: 2.125 MB / 0.5847 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.3983, allocations: 1.3 MB / 0.5859 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.4018, allocations: 1.857 MB / 0.5878 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009799/0.4028, allocations: 284 kB / 0.588 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.4055, allocations: 1.194 MB / 0.5892 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002228/0.4078, allocations: 1.617 MB / 0.5908 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003204/0.411, allocations: 1.856 MB / 0.5926 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008518/0.4195, allocations: 6.23 MB / 0.5987 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4195, allocations: 0 / 0.5987 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4195, allocations: 4 kB / 0.5987 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.4197, allocations: 0 / 0.5987 GB, free: 14.51 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.01098/0.4307, allocations: 4.266 MB / 0.6028 GB, free: 10.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4307, allocations: 8.031 kB / 0.6028 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009263/0.44, allocations: 2.022 MB / 0.6048 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006487/0.4465, allocations: 2.335 MB / 0.6071 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/0.4467, allocations: 197.3 kB / 0.6073 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/0.4481, allocations: 260 kB / 0.6075 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.4683, allocations: 8.576 MB / 0.6159 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.4684, allocations: 47.62 kB / 0.616 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/0.469, allocations: 131.9 kB / 0.6161 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/0.4726, allocations: 1.746 MB / 0.6178 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.4887, allocations: 7.557 MB / 0.6252 GB, free: 2.609 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05192/0.5407, allocations: 34.22 MB / 0.6586 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/0.5481, allocations: 2.976 MB / 0.6615 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/0.5509, allocations: 1.76 MB / 0.6632 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/0.5514, allocations: 331.8 kB / 0.6635 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.5515, allocations: 47.22 kB / 0.6636 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.998e-06/0.5515, allocations: 0 / 0.6636 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.0445/0.596, allocations: 15.49 MB / 0.6787 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.5961, allocations: 171.2 kB / 0.6789 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007104/0.6032, allocations: 3.532 MB / 0.6823 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004286/0.6036, allocations: 49.61 kB / 0.6824 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.606, allocations: 2.737 MB / 0.685 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009495/0.607, allocations: 0.6358 MB / 0.6857 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/0.6087, allocations: 1.103 MB / 0.6867 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6088, allocations: 301.1 kB / 0.687 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003279/0.6121, allocations: 2.126 MB / 0.6891 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00628/0.6184, allocations: 5.345 MB / 0.6943 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.6292, allocations: 8.03 MB / 0.7022 GB, free: 15.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/0.6294, allocations: 32 kB / 0.7022 GB, free: 15.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01679/0.6462, allocations: 8.295 MB / 0.7103 GB, free: 6.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.6463, allocations: 52 kB / 0.7103 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/0.6465, allocations: 116.1 kB / 0.7104 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.6498, allocations: 1.23 MB / 0.7117 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004256/0.654, allocations: 1.216 MB / 0.7128 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.6659, allocations: 7.6 MB / 0.7203 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/0.6701, allocations: 311.6 kB / 0.7206 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009438/0.671, allocations: 332 kB / 0.7209 GB, free: 11.83 MB / 0.5606 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.003972/0.675, allocations: 1.852 MB / 0.7227 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008704/0.6758, allocations: 313.9 kB / 0.723 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007495/0.6833, allocations: 3.561 MB / 0.7265 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/0.6834, allocations: 16 kB / 0.7265 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.6834, allocations: 8 kB / 0.7265 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.6834, allocations: 7.969 kB / 0.7265 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3077/0.9912, allocations: 8.149 MB / 0.7344 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.9912, allocations: 1.5 kB / 0.7344 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.9923, allocations: 227.8 kB / 0.7347 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.9948, allocations: 1.061 MB / 0.7357 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.9949, allocations: 27.22 kB / 0.7357 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007669/1.003, allocations: 7.272 MB / 0.7428 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.003, allocations: 0 / 0.7428 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007614/1.01, allocations: 6.28 MB / 0.749 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/1.011, allocations: 374.4 kB / 0.7493 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/1.011, allocations: 22.34 kB / 0.7493 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.013, allocations: 102.9 kB / 0.7494 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.013, allocations: 85.89 kB / 0.7495 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.013, allocations: 40.25 kB / 0.7496 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002547/1.016, allocations: 2.199 MB / 0.7517 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.016, allocations: 0 / 0.7517 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003564/1.019, allocations: 0.8898 MB / 0.7526 GB, free: 146.1 MB / 0.5606 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.000368/1.019, allocations: 155.2 kB / 0.7527 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005989/1.025, allocations: 4.949 MB / 0.7576 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.025, allocations: 4 kB / 0.7576 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/1.028, allocations: 1.735 MB / 0.7593 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/1.03, allocations: 381.3 kB / 0.7596 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.041, allocations: 8.485 MB / 0.7679 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/1.043, allocations: 2.885 MB / 0.7707 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003101/1.046, allocations: 1.706 MB / 0.7724 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/1.046, allocations: 215.4 kB / 0.7726 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/1.046, allocations: 4 kB / 0.7726 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05337/1.1, allocations: 35.27 MB / 0.807 GB, free: 91.62 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.2423695106990635]