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.001537/0.001543, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.148/2.148, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001188/0.001188, allocations: 94.8 kB / 270.9 MB, free: 13.38 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.2876/0.2876, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006445/0.0006445, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1226, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.05662/0.1793, allocations: 35.68 MB / 0.5136 GB, free: 5.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3579/0.5372, allocations: 9.062 MB / 0.5224 GB, free: 9.855 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008007/0.5453, allocations: 173 kB / 0.5226 GB, free: 9.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00675/0.5521, allocations: 1.757 MB / 0.5243 GB, free: 9.852 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02192/0.574, allocations: 5.206 MB / 0.5294 GB, free: 9.766 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.5779, allocations: 0.561 MB / 0.5299 GB, free: 9.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03562/0.6135, allocations: 13.92 MB / 0.5435 GB, free: 7.613 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007591/0.6212, allocations: 3.645 MB / 0.5471 GB, free: 6.566 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.6238, allocations: 0.9106 MB / 0.548 GB, free: 6.406 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.6271, allocations: 1.223 MB / 0.5492 GB, free: 6.133 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.6282, allocations: 130.5 kB / 0.5493 GB, free: 6.133 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.6315, allocations: 0.8948 MB / 0.5502 GB, free: 5.938 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.6341, allocations: 1.402 MB / 0.5515 GB, free: 5.656 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.6355, allocations: 0.7738 MB / 0.5523 GB, free: 5.445 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00781/0.6433, allocations: 5.244 MB / 0.5574 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6434, allocations: 0 / 0.5574 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.6434, allocations: 0 / 0.5574 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002061/0.6436, allocations: 4 kB / 0.5574 GB, free: 0.8867 MB / 362.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.01373/0.6574, allocations: 3.867 MB / 0.5612 GB, free: 13.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6574, allocations: 8.031 kB / 0.5612 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04986/0.7073, allocations: 4.946 MB / 0.566 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009415/0.7168, allocations: 2.588 MB / 0.5686 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.7171, allocations: 209.3 kB / 0.5688 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.7187, allocations: 277.4 kB / 0.569 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02664/0.7454, allocations: 9.28 MB / 0.5781 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.7456, allocations: 39.59 kB / 0.5781 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.7467, allocations: 141.1 kB / 0.5783 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006351/0.753, allocations: 1.911 MB / 0.5801 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/0.78, allocations: 8.11 MB / 0.588 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07359/0.8537, allocations: 36.19 MB / 0.6234 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/0.8683, allocations: 3.697 MB / 0.627 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.8691, allocations: 333.3 kB / 0.6273 GB, free: 12.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/0.8692, allocations: 59.5 kB / 0.6274 GB, free: 12.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 4.999e-06/0.8692, allocations: 0 / 0.6274 GB, free: 12.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.07266/0.9419, allocations: 16.02 MB / 0.643 GB, free: 12.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.942, allocations: 175.3 kB / 0.6432 GB, free: 11.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008988/0.951, allocations: 3.762 MB / 0.6469 GB, free: 8.164 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005367/0.9516, allocations: 53.7 kB / 0.6469 GB, free: 8.105 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00319/0.9548, allocations: 2.758 MB / 0.6496 GB, free: 5.363 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.9562, allocations: 0.6748 MB / 0.6503 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007151/0.957, allocations: 108 kB / 0.6504 GB, free: 4.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005073/0.9575, allocations: 0.5422 MB / 0.6509 GB, free: 4.039 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006345/0.9638, allocations: 2.158 MB / 0.653 GB, free: 1.875 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009893/0.9738, allocations: 5.486 MB / 0.6584 GB, free: 10.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009106/0.9829, allocations: 3.383 MB / 0.6617 GB, free: 7.332 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.9831, allocations: 36 kB / 0.6617 GB, free: 7.297 MB / 474.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02511/1.008, allocations: 8.113 MB / 0.6696 GB, free: 15.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.008, allocations: 56 kB / 0.6697 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/1.009, allocations: 116 kB / 0.6698 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004531/1.013, allocations: 0.985 MB / 0.6707 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008273/1.021, allocations: 1.275 MB / 0.672 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/1.037, allocations: 6.641 MB / 0.6785 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00605/1.043, allocations: 319.5 kB / 0.6788 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.044, allocations: 340 kB / 0.6791 GB, free: 5.32 MB / 490.7 MB 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 (671): * Single equations (assignments): 667 * 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.005918/1.05, allocations: 1.968 MB / 0.681 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009356/1.051, allocations: 323.8 kB / 0.6813 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.063, allocations: 3.556 MB / 0.6848 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-05/1.063, allocations: 20 kB / 0.6848 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/1.063, allocations: 8 kB / 0.6848 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.307e-05/1.063, allocations: 7.969 kB / 0.6848 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02888/1.092, allocations: 8.684 MB / 0.6933 GB, free: 6.707 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/1.092, allocations: 0 / 0.6933 GB, free: 6.707 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002892/1.095, allocations: 275.5 kB / 0.6936 GB, free: 6.438 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004009/1.099, allocations: 0.8007 MB / 0.6944 GB, free: 5.633 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004882/1.1, allocations: 28 kB / 0.6944 GB, free: 5.605 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.114, allocations: 6.151 MB / 0.7004 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.114, allocations: 7.891 kB / 0.7004 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.133, allocations: 6.444 MB / 0.7067 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/1.135, allocations: 0.6763 MB / 0.7074 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009812/1.136, allocations: 26.19 kB / 0.7074 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/1.14, allocations: 107.8 kB / 0.7075 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000781/1.141, allocations: 104.9 kB / 0.7076 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.141, allocations: 47.94 kB / 0.7076 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006753/1.148, allocations: 2.368 MB / 0.71 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.795e-06/1.148, allocations: 0 / 0.71 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007035/1.155, allocations: 0.9664 MB / 0.7109 GB, free: 4.539 MB / 0.5105 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.0009467/1.156, allocations: 175 kB / 0.7111 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3421/1.498, allocations: 5.233 MB / 0.7162 GB, free: 183 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.498, allocations: 1.219 kB / 0.7162 GB, free: 183 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005938/1.504, allocations: 1.947 MB / 0.7181 GB, free: 182.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.507, allocations: 368.8 kB / 0.7184 GB, free: 182.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02683/1.534, allocations: 10.8 MB / 0.729 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007802/1.542, allocations: 3.144 MB / 0.732 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/1.544, allocations: 276.4 kB / 0.7323 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/1.544, allocations: 0 / 0.7323 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1397/1.684, allocations: 69.87 MB / 0.8005 GB, free: 119.3 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