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.001457/0.001462, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 97 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3049/0.3049, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.788e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4077, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.6042, allocations: 104.9 MB / 0.5684 GB, free: 10.34 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.6046, allocations: 75.91 kB / 0.5685 GB, free: 10.26 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.676/1.281, allocations: 79.19 MB / 0.6458 GB, free: 107.4 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.484e-06/1.281, allocations: 0 / 0.6458 GB, free: 107.4 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002588/1.281, allocations: 75.94 kB / 0.6459 GB, free: 107.4 MB / 475.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.01633/1.297, allocations: 3.785 MB / 0.6496 GB, free: 105.9 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.297, allocations: 11.8 kB / 0.6496 GB, free: 105.9 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03347/1.331, allocations: 4.284 MB / 0.6538 GB, free: 105.7 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01853/1.349, allocations: 4.515 MB / 0.6582 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/1.35, allocations: 123.5 kB / 0.6583 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/1.352, allocations: 223.9 kB / 0.6585 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01586/1.368, allocations: 5.634 MB / 0.664 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/1.391, allocations: 8.701 MB / 0.6725 GB, free: 102.7 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002589/1.391, allocations: 60.62 kB / 0.6725 GB, free: 102.7 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/1.392, allocations: 31.47 kB / 0.6726 GB, free: 102.7 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001938/1.394, allocations: 0.9409 MB / 0.6735 GB, free: 102.7 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05966/1.454, allocations: 41.98 MB / 0.7145 GB, free: 71.73 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005442/1.46, allocations: 3.219 MB / 0.7176 GB, free: 70.01 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003335/1.463, allocations: 1.916 MB / 0.7195 GB, free: 69.17 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005339/1.464, allocations: 328.4 kB / 0.7198 GB, free: 68.88 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.464, allocations: 54.44 kB / 0.7199 GB, free: 68.83 MB / 475.1 MB Notification: Performance of pre-optimization done (n=156): time 5.811e-06/1.464, allocations: 0 / 0.7199 GB, free: 68.83 MB / 475.1 MB Notification: Performance of matching and sorting (n=177): time 0.04174/1.505, allocations: 13.1 MB / 0.7327 GB, free: 63.32 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/1.505, allocations: 170.9 kB / 0.7328 GB, free: 63.14 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005519/1.511, allocations: 2.775 MB / 0.7355 GB, free: 61.98 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004735/1.512, allocations: 29.7 kB / 0.7356 GB, free: 61.94 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002164/1.514, allocations: 2.876 MB / 0.7384 GB, free: 59.3 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.515, allocations: 0.66 MB / 0.739 GB, free: 58.71 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000645/1.515, allocations: 0 / 0.739 GB, free: 58.71 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003755/1.516, allocations: 0.5551 MB / 0.7396 GB, free: 58.21 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/1.52, allocations: 2.026 MB / 0.7415 GB, free: 56.39 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006699/1.527, allocations: 5.491 MB / 0.7469 GB, free: 49.45 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006914/1.534, allocations: 3.324 MB / 0.7502 GB, free: 46.59 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.534, allocations: 39.94 kB / 0.7502 GB, free: 46.55 MB / 475.1 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02003/1.554, allocations: 7.404 MB / 0.7574 GB, free: 40.16 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.554, allocations: 63.95 kB / 0.7575 GB, free: 40.1 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.555, allocations: 124 kB / 0.7576 GB, free: 39.98 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003813/1.558, allocations: 0.9445 MB / 0.7585 GB, free: 39.25 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008245/1.567, allocations: 1.337 MB / 0.7598 GB, free: 38.09 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/1.578, allocations: 5.748 MB / 0.7654 GB, free: 32.95 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006445/1.585, allocations: 208.7 kB / 0.7656 GB, free: 32.78 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001374/1.586, allocations: 357.7 kB / 0.766 GB, free: 32.44 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (703): * Single equations (assignments): 699 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001086/1.587, allocations: 419.6 kB / 0.7664 GB, free: 32.02 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007751/1.588, allocations: 292.2 kB / 0.7667 GB, free: 31.73 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008753/1.597, allocations: 3.3 MB / 0.7699 GB, free: 29.04 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/1.597, allocations: 20 kB / 0.7699 GB, free: 29.02 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.597, allocations: 8 kB / 0.7699 GB, free: 29.01 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/1.597, allocations: 10.69 kB / 0.7699 GB, free: 29.01 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.618, allocations: 7.682 MB / 0.7774 GB, free: 22.52 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.618, allocations: 0 / 0.7774 GB, free: 22.52 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.62, allocations: 287.5 kB / 0.7777 GB, free: 22.24 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003118/1.624, allocations: 0.7475 MB / 0.7784 GB, free: 21.49 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/1.624, allocations: 4 kB / 0.7784 GB, free: 21.49 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009947/1.634, allocations: 5.253 MB / 0.7836 GB, free: 16.12 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.634, allocations: 0 / 0.7836 GB, free: 16.12 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.646, allocations: 6.069 MB / 0.7895 GB, free: 10.01 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/1.648, allocations: 0.6299 MB / 0.7901 GB, free: 9.355 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.649, allocations: 0 / 0.7901 GB, free: 9.355 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/1.653, allocations: 83.67 kB / 0.7902 GB, free: 9.277 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005629/1.653, allocations: 101.1 kB / 0.7903 GB, free: 9.176 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.654, allocations: 44 kB / 0.7903 GB, free: 9.133 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.003953/1.658, allocations: 1.849 MB / 0.7921 GB, free: 7.289 MB / 475.1 MB Notification: Performance of sort global known variables: time 9.52e-07/1.658, allocations: 0 / 0.7921 GB, free: 7.289 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.006777/1.664, allocations: 0.8007 MB / 0.7929 GB, free: 6.488 MB / 475.1 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 () * 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.000589/1.665, allocations: 149.3 kB / 0.793 GB, free: 6.336 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/1.677, allocations: 5.026 MB / 0.798 GB, free: 1.328 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.677, allocations: 0 / 0.798 GB, free: 1.328 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004839/1.682, allocations: 1.83 MB / 0.7997 GB, free: 15.5 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.685, allocations: 282.6 kB / 0.8 GB, free: 15.22 MB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/1.708, allocations: 7.667 MB / 0.8075 GB, free: 7.523 MB / 491.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007046/1.715, allocations: 3.151 MB / 0.8106 GB, free: 4.363 MB / 491.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/1.717, allocations: 259.4 kB / 0.8108 GB, free: 4.105 MB / 491.1 MB Notification: Performance of SimCode: time 1.302e-06/1.717, allocations: 0 / 0.8108 GB, free: 4.105 MB / 491.1 MB Notification: Performance of Templates: time 0.4916/2.209, allocations: 67.33 MB / 0.8766 GB, free: 111.5 MB / 0.4952 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