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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00096/0.0009598, allocations: 101.4 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4682/0.4682, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 16 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.34, allocations: 61.88 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4821, allocations: 106.9 MB / 0.6151 GB, free: 4.145 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4824, allocations: 79.94 kB / 0.6152 GB, free: 4.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4698/0.9522, allocations: 76.86 MB / 0.6902 GB, free: 96.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.9523, allocations: 0 / 0.6902 GB, free: 96.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001341/0.9524, allocations: 70.69 kB / 0.6903 GB, free: 96.15 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.008361/0.9608, allocations: 3.702 MB / 0.6939 GB, free: 94.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.9609, allocations: 8.656 kB / 0.6939 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.9734, allocations: 3.426 MB / 0.6973 GB, free: 94.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/0.9808, allocations: 3.221 MB / 0.7004 GB, free: 93.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.9811, allocations: 269.7 kB / 0.7007 GB, free: 93.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009521/0.982, allocations: 366 kB / 0.701 GB, free: 93.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.9953, allocations: 9.112 MB / 0.7099 GB, free: 91.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.9955, allocations: 52.53 kB / 0.71 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/0.996, allocations: 181.2 kB / 0.7102 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/0.9972, allocations: 0.8813 MB / 0.711 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/1.012, allocations: 7.632 MB / 0.7185 GB, free: 89.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/1.047, allocations: 42.11 MB / 0.7596 GB, free: 57.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/1.053, allocations: 3.386 MB / 0.7629 GB, free: 56.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/1.054, allocations: 1.801 MB / 0.7647 GB, free: 55.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/1.055, allocations: 330.8 kB / 0.765 GB, free: 55.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/1.055, allocations: 54.97 kB / 0.765 GB, free: 55.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 4.228e-06/1.055, allocations: 0 / 0.765 GB, free: 55.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.027/1.082, allocations: 13.87 MB / 0.7786 GB, free: 49.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/1.082, allocations: 175.7 kB / 0.7787 GB, free: 49.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004981/1.087, allocations: 3.528 MB / 0.7822 GB, free: 47.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005278/1.087, allocations: 48.64 kB / 0.7822 GB, free: 47.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/1.089, allocations: 2.729 MB / 0.7849 GB, free: 45.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/1.09, allocations: 0.5969 MB / 0.7855 GB, free: 45.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.09, allocations: 108.6 kB / 0.7856 GB, free: 45.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002338/1.09, allocations: 0.5261 MB / 0.7861 GB, free: 44.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/1.093, allocations: 1.967 MB / 0.788 GB, free: 44.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/1.097, allocations: 5.233 MB / 0.7931 GB, free: 39.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007121/1.104, allocations: 7.824 MB / 0.8008 GB, free: 31.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.734e-05/1.104, allocations: 35.38 kB / 0.8008 GB, free: 31.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01268/1.117, allocations: 7.727 MB / 0.8083 GB, free: 24.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/1.117, allocations: 56 kB / 0.8084 GB, free: 24.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.117, allocations: 119.9 kB / 0.8085 GB, free: 24.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/1.119, allocations: 0.9176 MB / 0.8094 GB, free: 23.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/1.123, allocations: 1.215 MB / 0.8106 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/1.129, allocations: 6.094 MB / 0.8165 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/1.134, allocations: 304.1 kB / 0.8168 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009128/1.135, allocations: 326.4 kB / 0.8171 GB, free: 16.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,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 (638): * Single equations (assignments): 634 * 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.003666/1.139, allocations: 1.882 MB / 0.819 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/1.139, allocations: 308 kB / 0.8193 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/1.144, allocations: 3.103 MB / 0.8223 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.144, allocations: 20 kB / 0.8223 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.144, allocations: 8 kB / 0.8223 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.144, allocations: 7.172 kB / 0.8223 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.156, allocations: 7.785 MB / 0.8299 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.156, allocations: 0 / 0.8299 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.157, allocations: 242.8 kB / 0.8302 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/1.159, allocations: 0.7491 MB / 0.8309 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.159, allocations: 27.94 kB / 0.8309 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/1.165, allocations: 5.65 MB / 0.8364 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.165, allocations: 0 / 0.8364 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008908/1.174, allocations: 5.633 MB / 0.842 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.175, allocations: 372.6 kB / 0.8423 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004811/1.176, allocations: 24 kB / 0.8423 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.177, allocations: 91.7 kB / 0.8424 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/1.177, allocations: 88.88 kB / 0.8425 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.177, allocations: 40 kB / 0.8425 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003899/1.181, allocations: 2.206 MB / 0.8447 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.181, allocations: 0 / 0.8447 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004978/1.186, allocations: 0.8788 MB / 0.8456 GB, free: 6.309 MB / 0.4948 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 (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.0005189/1.187, allocations: 168.5 kB / 0.8457 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007715/1.195, allocations: 4.784 MB / 0.8504 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.195, allocations: 0 / 0.8504 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/1.197, allocations: 1.722 MB / 0.8521 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.2, allocations: 383.1 kB / 0.8524 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.216, allocations: 9.666 MB / 0.8619 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003423/1.219, allocations: 2.929 MB / 0.8647 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004569/1.224, allocations: 1.73 MB / 0.8664 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/1.225, allocations: 215.4 kB / 0.8666 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/1.225, allocations: 0 / 0.8666 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of Templates: time 0.3555/1.58, allocations: 32.62 MB / 0.8985 GB, free: 123.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches