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.001593/0.001592, allocations: 180.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00112/0.001119, allocations: 82.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3262/0.3262, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.697e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 58.84 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.6335, allocations: 105.6 MB / 0.5759 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.6339, allocations: 82.98 kB / 0.576 GB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3473/0.9812, allocations: 80.87 MB / 0.655 GB, free: 5.285 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.29e-06/0.9813, allocations: 0 / 0.655 GB, free: 5.285 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002768/0.9816, allocations: 75.94 kB / 0.655 GB, free: 5.211 MB / 458.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.0159/0.9975, allocations: 3.781 MB / 0.6587 GB, free: 1.371 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.414e-05/0.9976, allocations: 16.02 kB / 0.6587 GB, free: 1.355 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03299/1.031, allocations: 4.285 MB / 0.6629 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/1.05, allocations: 4.514 MB / 0.6673 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004401/1.05, allocations: 283.5 kB / 0.6676 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/1.052, allocations: 383.8 kB / 0.668 GB, free: 7.828 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/1.082, allocations: 9.568 MB / 0.6773 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/1.083, allocations: 59.42 kB / 0.6774 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001631/1.084, allocations: 191.9 kB / 0.6776 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/1.087, allocations: 0.9474 MB / 0.6785 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02565/1.112, allocations: 8.012 MB / 0.6863 GB, free: 4.109 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4137/1.526, allocations: 43.78 MB / 0.7291 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/1.54, allocations: 3.67 MB / 0.7327 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004117/1.544, allocations: 1.947 MB / 0.7346 GB, free: 93.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/1.545, allocations: 332.9 kB / 0.7349 GB, free: 92.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/1.545, allocations: 55.17 kB / 0.7349 GB, free: 92.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 5.52e-06/1.545, allocations: 0 / 0.7349 GB, free: 92.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=177): time 0.0559/1.601, allocations: 12.91 MB / 0.7475 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/1.601, allocations: 174.4 kB / 0.7477 GB, free: 90.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007802/1.609, allocations: 3.205 MB / 0.7508 GB, free: 89.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000507/1.609, allocations: 52.73 kB / 0.7509 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002572/1.612, allocations: 2.783 MB / 0.7536 GB, free: 88.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.613, allocations: 0.6705 MB / 0.7542 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007689/1.614, allocations: 111.4 kB / 0.7544 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004085/1.614, allocations: 0.5401 MB / 0.7549 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005139/1.62, allocations: 2.089 MB / 0.7569 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007362/1.627, allocations: 5.408 MB / 0.7622 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007333/1.634, allocations: 3.35 MB / 0.7655 GB, free: 83.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/1.635, allocations: 30.88 kB / 0.7655 GB, free: 83.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02149/1.656, allocations: 7.966 MB / 0.7733 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.656, allocations: 54 kB / 0.7733 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/1.656, allocations: 118.4 kB / 0.7734 GB, free: 81.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/1.66, allocations: 0.9343 MB / 0.7744 GB, free: 80.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008104/1.668, allocations: 1.281 MB / 0.7756 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.68, allocations: 6.101 MB / 0.7816 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006657/1.687, allocations: 314.7 kB / 0.7819 GB, free: 77.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.688, allocations: 347.2 kB / 0.7822 GB, free: 77.24 MB / 0.4948 GB 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 () * 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.002066/1.691, allocations: 0.5123 MB / 0.7827 GB, free: 76.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009003/1.692, allocations: 321.2 kB / 0.783 GB, free: 76.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.702, allocations: 3.423 MB / 0.7864 GB, free: 75.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-05/1.702, allocations: 20.06 kB / 0.7864 GB, free: 75.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.702, allocations: 5.188 kB / 0.7864 GB, free: 75.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/1.702, allocations: 13.56 kB / 0.7864 GB, free: 75.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/1.726, allocations: 8.459 MB / 0.7946 GB, free: 72.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/1.726, allocations: 3.906 kB / 0.7947 GB, free: 72.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002871/1.729, allocations: 291 kB / 0.7949 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/1.733, allocations: 0.7501 MB / 0.7957 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000415/1.733, allocations: 28.08 kB / 0.7957 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/1.744, allocations: 5.617 MB / 0.8012 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.744, allocations: 0 / 0.8012 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.758, allocations: 6.23 MB / 0.8073 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/1.761, allocations: 0.6593 MB / 0.8079 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009328/1.762, allocations: 28 kB / 0.8079 GB, free: 64.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.765, allocations: 105.9 kB / 0.808 GB, free: 64.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005275/1.765, allocations: 98.3 kB / 0.8081 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/1.766, allocations: 52.38 kB / 0.8082 GB, free: 64.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005378/1.771, allocations: 2.234 MB / 0.8104 GB, free: 62.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.192e-06/1.771, allocations: 0 / 0.8104 GB, free: 62.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00641/1.777, allocations: 0.9357 MB / 0.8113 GB, free: 61.17 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 () * 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.0007685/1.778, allocations: 168 kB / 0.8114 GB, free: 61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.79, allocations: 5.097 MB / 0.8164 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.79, allocations: 0 / 0.8164 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0048/1.795, allocations: 1.878 MB / 0.8182 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/1.798, allocations: 360.1 kB / 0.8186 GB, free: 54.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.818, allocations: 7.76 MB / 0.8262 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006008/1.824, allocations: 3.144 MB / 0.8292 GB, free: 45.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/1.826, allocations: 273.9 kB / 0.8295 GB, free: 44.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/1.826, allocations: 0 / 0.8295 GB, free: 44.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.1329/1.959, allocations: 69.34 MB / 0.8972 GB, free: 12.89 MB / 0.5261 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