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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 185.3 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2551/0.2551, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001986/0.001986, allocations: 71.88 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4197, allocations: 64.29 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01471/0.4344, allocations: 9.65 MB / 0.5583 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.4448, allocations: 3.858 MB / 0.562 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.4471, allocations: 67.69 kB / 0.5621 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004921/0.4521, allocations: 2.34 MB / 0.5644 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005699/0.4578, allocations: 1.697 MB / 0.566 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.4601, allocations: 0.7057 MB / 0.5667 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006845/0.467, allocations: 3.814 MB / 0.5704 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.4701, allocations: 2.149 MB / 0.5725 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.4725, allocations: 1.328 MB / 0.5738 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.4751, allocations: 1.896 MB / 0.5757 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006353/0.4758, allocations: 284 kB / 0.576 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.4784, allocations: 1.221 MB / 0.5771 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.4802, allocations: 1.659 MB / 0.5788 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.4826, allocations: 1.899 MB / 0.5806 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.493, allocations: 6.393 MB / 0.5869 GB, free: 8.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.493, allocations: 4 kB / 0.5869 GB, free: 8.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.493, allocations: 0 / 0.5869 GB, free: 8.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.4932, allocations: 3.938 kB / 0.5869 GB, free: 8.293 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01521/0.5084, allocations: 4.249 MB / 0.591 GB, free: 3.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.5085, allocations: 12.92 kB / 0.591 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009468/0.518, allocations: 2.046 MB / 0.593 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006504/0.5245, allocations: 2.318 MB / 0.5953 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.5247, allocations: 197.4 kB / 0.5955 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009816/0.5257, allocations: 271.9 kB / 0.5957 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.5416, allocations: 8.766 MB / 0.6043 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.5417, allocations: 35.7 kB / 0.6043 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/0.542, allocations: 127.9 kB / 0.6045 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003409/0.5455, allocations: 1.801 MB / 0.6062 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.5607, allocations: 7.721 MB / 0.6138 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0493/0.61, allocations: 34.55 MB / 0.6475 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007264/0.6173, allocations: 2.518 MB / 0.65 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.62, allocations: 1.77 MB / 0.6517 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/0.6204, allocations: 104.5 kB / 0.6518 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.6205, allocations: 47.22 kB / 0.6518 GB, free: 3.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 3.987e-06/0.6205, allocations: 0 / 0.6518 GB, free: 3.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.0463/0.6668, allocations: 15.35 MB / 0.6668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.6669, allocations: 171.2 kB / 0.667 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007076/0.674, allocations: 3.565 MB / 0.6705 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004016/0.6744, allocations: 45.7 kB / 0.6705 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002892/0.6773, allocations: 2.796 MB / 0.6732 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/0.6788, allocations: 0.6358 MB / 0.6739 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004295/0.6831, allocations: 1.115 MB / 0.675 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6833, allocations: 305.1 kB / 0.6752 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006511/0.6898, allocations: 2.134 MB / 0.6773 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/0.7008, allocations: 5.386 MB / 0.6826 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/0.7172, allocations: 8.095 MB / 0.6905 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/0.7174, allocations: 32 kB / 0.6905 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.03001/0.7474, allocations: 8.346 MB / 0.6987 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.7476, allocations: 59.94 kB / 0.6987 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002974/0.7479, allocations: 116 kB / 0.6988 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005092/0.753, allocations: 1.219 MB / 0.7 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006874/0.7599, allocations: 1.224 MB / 0.7012 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.7738, allocations: 7.497 MB / 0.7085 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004852/0.7786, allocations: 307.6 kB / 0.7088 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/0.7799, allocations: 336 kB / 0.7092 GB, free: 5.754 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.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 (655): * Single equations (assignments): 651 * 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.004843/0.7847, allocations: 1.887 MB / 0.711 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/0.7861, allocations: 321.8 kB / 0.7113 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/0.7947, allocations: 3.553 MB / 0.7148 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.7947, allocations: 23.94 kB / 0.7148 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.854e-05/0.7948, allocations: 4 kB / 0.7148 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/0.7948, allocations: 7.969 kB / 0.7148 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/0.8159, allocations: 8.2 MB / 0.7228 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.8159, allocations: 4 kB / 0.7228 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.8174, allocations: 220 kB / 0.723 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/0.8207, allocations: 1.064 MB / 0.7241 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/0.821, allocations: 35.92 kB / 0.7241 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4512/1.272, allocations: 7.159 MB / 0.7311 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.272, allocations: 3.469 kB / 0.7311 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.283, allocations: 6.286 MB / 0.7372 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.285, allocations: 297.1 kB / 0.7375 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004116/1.285, allocations: 35.34 kB / 0.7376 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.286, allocations: 100.5 kB / 0.7377 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/1.287, allocations: 88.53 kB / 0.7377 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.287, allocations: 35.41 kB / 0.7378 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002847/1.29, allocations: 2.225 MB / 0.7399 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.29, allocations: 0 / 0.7399 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004158/1.294, allocations: 0.9156 MB / 0.7408 GB, free: 158.7 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.0004063/1.294, allocations: 151.3 kB / 0.741 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006888/1.301, allocations: 4.958 MB / 0.7458 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.301, allocations: 6.109 kB / 0.7458 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.304, allocations: 1.743 MB / 0.7475 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.306, allocations: 389 kB / 0.7479 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/1.321, allocations: 8.594 MB / 0.7563 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/1.324, allocations: 2.938 MB / 0.7592 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003345/1.327, allocations: 1.718 MB / 0.7608 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/1.328, allocations: 219.4 kB / 0.7611 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/1.328, allocations: 0 / 0.7611 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06238/1.39, allocations: 37.9 MB / 0.7981 GB, free: 107.5 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.930984738282859]