Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001617, allocations: 185.3 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 89.2 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4918/0.4918, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006174/0.0006173, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1232, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.6038, allocations: 105.7 MB / 0.5819 GB, free: 12.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6041, allocations: 79.97 kB / 0.582 GB, free: 12.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3545/0.9586, allocations: 80.84 MB / 0.661 GB, free: 11.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.9587, allocations: 0 / 0.661 GB, free: 11.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002723/0.959, allocations: 76 kB / 0.661 GB, free: 11.52 MB / 490.7 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.01759/0.9766, allocations: 4.027 MB / 0.665 GB, free: 7.426 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/0.9767, allocations: 12.03 kB / 0.665 GB, free: 7.414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03308/1.01, allocations: 4.281 MB / 0.6692 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3431/1.353, allocations: 4.546 MB / 0.6736 GB, free: 92.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/1.354, allocations: 287.3 kB / 0.6739 GB, free: 92.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002129/1.356, allocations: 381.6 kB / 0.6742 GB, free: 92.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02806/1.384, allocations: 9.642 MB / 0.6837 GB, free: 90.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/1.384, allocations: 56.94 kB / 0.6837 GB, free: 90.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/1.386, allocations: 185.9 kB / 0.6839 GB, free: 90.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002085/1.388, allocations: 0.9465 MB / 0.6848 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/1.411, allocations: 8.134 MB / 0.6928 GB, free: 90 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06446/1.475, allocations: 43.79 MB / 0.7355 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/1.489, allocations: 3.685 MB / 0.7391 GB, free: 59.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000583/1.49, allocations: 334.8 kB / 0.7394 GB, free: 58.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/1.49, allocations: 51.19 kB / 0.7395 GB, free: 58.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=156): time 5.881e-06/1.49, allocations: 3.625 kB / 0.7395 GB, free: 58.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=177): time 0.05943/1.55, allocations: 15.25 MB / 0.7544 GB, free: 52.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/1.55, allocations: 174.1 kB / 0.7545 GB, free: 52.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006889/1.557, allocations: 3.233 MB / 0.7577 GB, free: 51.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004878/1.557, allocations: 51.05 kB / 0.7578 GB, free: 51.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.559, allocations: 2.779 MB / 0.7605 GB, free: 48.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/1.56, allocations: 0.6749 MB / 0.7611 GB, free: 48.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000723/1.561, allocations: 113 kB / 0.7612 GB, free: 48.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003661/1.561, allocations: 0.5447 MB / 0.7618 GB, free: 47.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/1.567, allocations: 2.134 MB / 0.7638 GB, free: 47.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0074/1.574, allocations: 5.452 MB / 0.7692 GB, free: 41.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007319/1.581, allocations: 3.368 MB / 0.7725 GB, free: 40.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.743e-05/1.582, allocations: 33.81 kB / 0.7725 GB, free: 40.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02108/1.603, allocations: 8.047 MB / 0.7804 GB, free: 37.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.223e-05/1.603, allocations: 55.69 kB / 0.7804 GB, free: 37.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/1.603, allocations: 118.2 kB / 0.7805 GB, free: 37.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003713/1.607, allocations: 0.9262 MB / 0.7814 GB, free: 37.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007986/1.615, allocations: 1.287 MB / 0.7827 GB, free: 37.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/1.626, allocations: 6.267 MB / 0.7888 GB, free: 33.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006019/1.632, allocations: 321.9 kB / 0.7891 GB, free: 33.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/1.634, allocations: 340.9 kB / 0.7894 GB, free: 33.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * 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 (673): * Single equations (assignments): 669 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004722/1.638, allocations: 1.96 MB / 0.7913 GB, free: 32.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008108/1.639, allocations: 321.5 kB / 0.7917 GB, free: 32.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009456/1.649, allocations: 3.457 MB / 0.795 GB, free: 31.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.402e-05/1.649, allocations: 22.2 kB / 0.795 GB, free: 31.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.649, allocations: 6.406 kB / 0.7951 GB, free: 31.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-05/1.649, allocations: 7.641 kB / 0.7951 GB, free: 31.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02259/1.672, allocations: 8.499 MB / 0.8034 GB, free: 27.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/1.672, allocations: 4 kB / 0.8034 GB, free: 27.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002876/1.674, allocations: 289.1 kB / 0.8036 GB, free: 27.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004639/1.679, allocations: 0.749 MB / 0.8044 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005325/1.68, allocations: 28 kB / 0.8044 GB, free: 26.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/1.696, allocations: 5.806 MB / 0.8101 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.696, allocations: 0 / 0.8101 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.71, allocations: 6.294 MB / 0.8162 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.713, allocations: 0.6515 MB / 0.8169 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/1.713, allocations: 28 kB / 0.8169 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.716, allocations: 105.8 kB / 0.817 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/1.716, allocations: 97.67 kB / 0.8171 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.716, allocations: 42.66 kB / 0.8171 GB, free: 15.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00518/1.722, allocations: 2.271 MB / 0.8193 GB, free: 13.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.722, allocations: 0 / 0.8193 GB, free: 13.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006279/1.728, allocations: 0.9426 MB / 0.8203 GB, free: 12.27 MB / 490.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 (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006574/1.729, allocations: 164.8 kB / 0.8204 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01123/1.74, allocations: 5.18 MB / 0.8255 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.74, allocations: 1.312 kB / 0.8255 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004741/1.745, allocations: 1.888 MB / 0.8273 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.748, allocations: 371.5 kB / 0.8277 GB, free: 5.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/1.771, allocations: 10.75 MB / 0.8382 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006702/1.778, allocations: 3.145 MB / 0.8412 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.78, allocations: 270.3 kB / 0.8415 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/1.78, allocations: 3.938 kB / 0.8415 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of Templates: time 0.4834/2.263, allocations: 69.33 MB / 0.9092 GB, free: 109.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches