Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 102.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 184.6 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4669/0.4669, allocations: 43.58 MB / 315 MB, free: 8.703 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007642/0.0007643, allocations: 16 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1915, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.37/0.5615, allocations: 40.56 MB / 484 MB, free: 24.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02716/0.5888, allocations: 9.178 MB / 493.2 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/0.6009, allocations: 177.3 kB / 493.4 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.603, allocations: 391.1 kB / 493.7 MB, free: 19.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005962/0.609, allocations: 1.63 MB / 495.4 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.6111, allocations: 0.6372 MB / 496 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007654/0.6188, allocations: 5.46 MB / 0.4897 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00979/0.6286, allocations: 4.078 MB / 0.4937 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.6326, allocations: 1.013 MB / 0.4947 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005056/0.6377, allocations: 1.751 MB / 0.4964 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.6393, allocations: 130.3 kB / 0.4965 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.644, allocations: 1.081 MB / 0.4976 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004464/0.6485, allocations: 1.535 MB / 0.4991 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006788/0.6553, allocations: 1.828 MB / 0.5009 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.6725, allocations: 6.278 MB / 0.507 GB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6726, allocations: 0 / 0.507 GB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.6726, allocations: 0 / 0.507 GB, free: 9.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003057/0.6729, allocations: 1.25 kB / 0.507 GB, free: 9.566 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.0126/0.6855, allocations: 3.621 MB / 0.5105 GB, free: 6.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.951e-05/0.6856, allocations: 13.41 kB / 0.5105 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.6957, allocations: 2.111 MB / 0.5126 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00688/0.7027, allocations: 2.456 MB / 0.515 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.7029, allocations: 204.8 kB / 0.5152 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008406/0.7037, allocations: 281.4 kB / 0.5155 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.7225, allocations: 9.295 MB / 0.5245 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.7228, allocations: 43.66 kB / 0.5246 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.7232, allocations: 139.8 kB / 0.5247 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003643/0.7268, allocations: 1.919 MB / 0.5266 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.7459, allocations: 8.176 MB / 0.5346 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05786/0.8038, allocations: 36.43 MB / 0.5702 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008713/0.8126, allocations: 3.681 MB / 0.5737 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/0.8158, allocations: 2.083 MB / 0.5758 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.8164, allocations: 340 kB / 0.5761 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/0.8165, allocations: 51.5 kB / 0.5762 GB, free: 5.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 8.556e-06/0.8165, allocations: 3.984 kB / 0.5762 GB, free: 5.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.04276/0.8592, allocations: 16.19 MB / 0.592 GB, free: 5.621 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.8594, allocations: 175.2 kB / 0.5921 GB, free: 5.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006315/0.8658, allocations: 3.639 MB / 0.5957 GB, free: 1.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005986/0.8664, allocations: 49.7 kB / 0.5957 GB, free: 1.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.8686, allocations: 2.811 MB / 0.5985 GB, free: 14.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009569/0.8696, allocations: 0.6788 MB / 0.5991 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006775/0.8703, allocations: 494.4 kB / 0.5996 GB, free: 13.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.8705, allocations: 305.1 kB / 0.5999 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00378/0.8743, allocations: 2.287 MB / 0.6021 GB, free: 11.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006843/0.8811, allocations: 5.643 MB / 0.6076 GB, free: 3.789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/0.8941, allocations: 8.553 MB / 0.616 GB, free: 9.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/0.8942, allocations: 32 kB / 0.616 GB, free: 9.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02174/0.916, allocations: 8.767 MB / 0.6246 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.9162, allocations: 52.28 kB / 0.6246 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002222/0.9164, allocations: 120 kB / 0.6248 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003536/0.92, allocations: 1.223 MB / 0.626 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005161/0.9252, allocations: 1.298 MB / 0.6272 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.936, allocations: 7.202 MB / 0.6343 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/0.9421, allocations: 331.4 kB / 0.6346 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/0.9438, allocations: 348 kB / 0.6349 GB, free: 6.078 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006298/0.9501, allocations: 1.977 MB / 0.6368 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/0.9514, allocations: 315.9 kB / 0.6371 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3829/1.334, allocations: 3.921 MB / 0.641 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.213e-05/1.334, allocations: 23.5 kB / 0.641 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/1.335, allocations: 5.75 kB / 0.641 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.326e-05/1.335, allocations: 5.625 kB / 0.641 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/1.354, allocations: 9.041 MB / 0.6498 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.354, allocations: 0 / 0.6498 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.356, allocations: 275.7 kB / 0.6501 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/1.358, allocations: 1.059 MB / 0.6511 GB, free: 154 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/1.359, allocations: 32.41 kB / 0.6512 GB, free: 154 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007884/1.366, allocations: 6.72 MB / 0.6577 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.367, allocations: 0 / 0.6577 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/1.376, allocations: 6.842 MB / 0.6644 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.378, allocations: 0.6845 MB / 0.6651 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004114/1.379, allocations: 29.36 kB / 0.6651 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.38, allocations: 118.6 kB / 0.6652 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/1.38, allocations: 93.2 kB / 0.6653 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.381, allocations: 47.42 kB / 0.6653 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004194/1.385, allocations: 2.28 MB / 0.6676 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.385, allocations: 3.656 kB / 0.6676 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007967/1.393, allocations: 0.9631 MB / 0.6685 GB, free: 146.8 MB / 0.4981 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 (137): * Single equations (assignments): 133 * 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.0006947/1.393, allocations: 158.5 kB / 0.6687 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01207/1.406, allocations: 5.467 MB / 0.674 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/1.406, allocations: 0 / 0.674 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004155/1.41, allocations: 2.04 MB / 0.676 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/1.414, allocations: 380.5 kB / 0.6764 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/1.442, allocations: 10.94 MB / 0.687 GB, free: 138 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005111/1.447, allocations: 3.067 MB / 0.69 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004985/1.452, allocations: 1.806 MB / 0.6918 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007968/1.453, allocations: 232.1 kB / 0.692 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/1.453, allocations: 0 / 0.692 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.06919/1.522, allocations: 36.62 MB / 0.7278 GB, free: 105.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches