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.001649/0.001649, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.543/1.543, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009571/0.000957, allocations: 94.28 kB / 270.9 MB, free: 8.359 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.3572/0.3572, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003991, allocations: 15.98 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2694/0.4002, allocations: 37.77 MB / 0.5156 GB, free: 23.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0243/0.4245, allocations: 8.738 MB / 0.5242 GB, free: 17.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/0.4365, allocations: 169.9 kB / 0.5243 GB, free: 17.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007752/0.4443, allocations: 1.946 MB / 0.5262 GB, free: 17.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01836/0.4627, allocations: 5.871 MB / 0.532 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.4661, allocations: 0.5808 MB / 0.5325 GB, free: 14.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02679/0.4929, allocations: 18.42 MB / 0.5505 GB, free: 9.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006309/0.4992, allocations: 3.676 MB / 0.5541 GB, free: 7.676 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.5015, allocations: 1.109 MB / 0.5552 GB, free: 7.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.504, allocations: 1.734 MB / 0.5569 GB, free: 6.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005883/0.5046, allocations: 130.8 kB / 0.557 GB, free: 6.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.5066, allocations: 0.9215 MB / 0.5579 GB, free: 5.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.5077, allocations: 1.496 MB / 0.5594 GB, free: 3.961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.5085, allocations: 0.7766 MB / 0.5601 GB, free: 3.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.513, allocations: 5.183 MB / 0.5652 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5131, allocations: 0 / 0.5652 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5131, allocations: 0 / 0.5652 GB, free: 13.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.5133, allocations: 0 / 0.5652 GB, free: 13.98 MB / 394.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.008378/0.5216, allocations: 3.672 MB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5217, allocations: 12.03 kB / 0.5688 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008855/0.5306, allocations: 2.104 MB / 0.5708 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00586/0.5365, allocations: 2.421 MB / 0.5732 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.5367, allocations: 210.3 kB / 0.5734 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007578/0.5374, allocations: 275.8 kB / 0.5737 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.5551, allocations: 9.271 MB / 0.5827 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/0.5553, allocations: 39.59 kB / 0.5828 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004474/0.5557, allocations: 135.9 kB / 0.5829 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003614/0.5593, allocations: 1.919 MB / 0.5848 GB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5768, allocations: 8.133 MB / 0.5927 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04797/0.6248, allocations: 36.4 MB / 0.6282 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/0.6325, allocations: 3.686 MB / 0.6318 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/0.6354, allocations: 2.08 MB / 0.6339 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.6358, allocations: 348 kB / 0.6342 GB, free: 5.277 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.6359, allocations: 47.52 kB / 0.6343 GB, free: 5.223 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 5.28e-06/0.6359, allocations: 0 / 0.6343 GB, free: 5.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.04075/0.6767, allocations: 16.18 MB / 0.6501 GB, free: 4.934 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6768, allocations: 175.2 kB / 0.6502 GB, free: 4.727 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006479/0.6833, allocations: 3.619 MB / 0.6538 GB, free: 1.105 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005446/0.6839, allocations: 57.61 kB / 0.6538 GB, free: 1.047 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.6864, allocations: 2.807 MB / 0.6565 GB, free: 14.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009726/0.6873, allocations: 0.6787 MB / 0.6572 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.6876, allocations: 112 kB / 0.6573 GB, free: 13.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003702/0.688, allocations: 0.5454 MB / 0.6579 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/0.6916, allocations: 2.264 MB / 0.6601 GB, free: 10.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006143/0.6977, allocations: 5.623 MB / 0.6656 GB, free: 3.285 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005535/0.7033, allocations: 3.51 MB / 0.669 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.313e-05/0.7034, allocations: 32 kB / 0.669 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.0168/0.7202, allocations: 8.72 MB / 0.6775 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/0.7204, allocations: 56 kB / 0.6776 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/0.7205, allocations: 116 kB / 0.6777 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/0.7237, allocations: 1.246 MB / 0.6789 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004584/0.7283, allocations: 1.291 MB / 0.6802 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2815/1.01, allocations: 7.145 MB / 0.6871 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007603/1.017, allocations: 328.7 kB / 0.6875 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/1.019, allocations: 344.6 kB / 0.6878 GB, free: 144.3 MB / 0.4948 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 (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.004789/1.024, allocations: 1.971 MB / 0.6897 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.025, allocations: 316.3 kB / 0.69 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/1.033, allocations: 3.924 MB / 0.6938 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/1.033, allocations: 26.38 kB / 0.6939 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.033, allocations: 5.656 kB / 0.6939 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/1.033, allocations: 10.78 kB / 0.6939 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/1.049, allocations: 9.037 MB / 0.7027 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.049, allocations: 0 / 0.7027 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.05, allocations: 274.2 kB / 0.703 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/1.053, allocations: 1.054 MB / 0.704 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/1.053, allocations: 34.12 kB / 0.704 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007996/1.061, allocations: 6.72 MB / 0.7106 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.061, allocations: 3.344 kB / 0.7106 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.071, allocations: 6.825 MB / 0.7173 GB, free: 134 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.073, allocations: 0.6748 MB / 0.7179 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/1.074, allocations: 32.14 kB / 0.718 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.075, allocations: 119 kB / 0.7181 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/1.075, allocations: 98.84 kB / 0.7182 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.075, allocations: 51.52 kB / 0.7182 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003512/1.079, allocations: 2.263 MB / 0.7204 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/1.079, allocations: 6.734 kB / 0.7204 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00656/1.085, allocations: 0.9616 MB / 0.7214 GB, free: 132.7 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 (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.0006867/1.086, allocations: 155.4 kB / 0.7215 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.098, allocations: 5.472 MB / 0.7269 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.098, allocations: 1.156 kB / 0.7269 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004129/1.102, allocations: 2.032 MB / 0.7288 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/1.105, allocations: 372.6 kB / 0.7292 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/1.125, allocations: 10.92 MB / 0.7399 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003416/1.129, allocations: 3.054 MB / 0.7428 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/1.13, allocations: 275.7 kB / 0.7431 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/1.13, allocations: 0 / 0.7431 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.09185/1.222, allocations: 71.85 MB / 0.8133 GB, free: 58.31 MB / 0.4948 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/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_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches