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.0009072/0.0009073, allocations: 175.4 kB / 16.72 MB, free: 5.078 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.302/1.302, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007917/0.0007915, allocations: 96.72 kB / 271.2 MB, free: 8.238 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.2999/0.2999, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 15.98 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2028/0.3081, allocations: 37.78 MB / 0.5162 GB, free: 23.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.324, allocations: 8.725 MB / 0.5247 GB, free: 17.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005854/0.3298, allocations: 172.4 kB / 0.5249 GB, free: 17.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.3338, allocations: 1.951 MB / 0.5268 GB, free: 17.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.3454, allocations: 5.891 MB / 0.5326 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.3474, allocations: 0.629 MB / 0.5332 GB, free: 14.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02077/0.3682, allocations: 18.46 MB / 0.5512 GB, free: 9.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005395/0.3736, allocations: 3.938 MB / 0.555 GB, free: 7.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.3755, allocations: 1.102 MB / 0.5561 GB, free: 6.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.378, allocations: 1.741 MB / 0.5578 GB, free: 5.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007065/0.3787, allocations: 132 kB / 0.5579 GB, free: 5.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.3808, allocations: 1.053 MB / 0.559 GB, free: 4.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.382, allocations: 1.508 MB / 0.5604 GB, free: 3.094 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.3832, allocations: 1.722 MB / 0.5621 GB, free: 1.355 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.3874, allocations: 5.183 MB / 0.5672 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3874, allocations: 0 / 0.5672 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3874, allocations: 0 / 0.5672 GB, free: 12.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.653e-05/0.3875, allocations: 0 / 0.5672 GB, free: 12.16 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.005931/0.3934, allocations: 3.625 MB / 0.5707 GB, free: 8.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3935, allocations: 12.03 kB / 0.5707 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007256/0.4007, allocations: 2.109 MB / 0.5728 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.405, allocations: 2.459 MB / 0.5752 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.4052, allocations: 205.8 kB / 0.5754 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004591/0.4057, allocations: 279.7 kB / 0.5757 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.418, allocations: 9.271 MB / 0.5847 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.639e-05/0.4181, allocations: 39.59 kB / 0.5848 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.4185, allocations: 135.9 kB / 0.5849 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/0.4214, allocations: 1.915 MB / 0.5868 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.4347, allocations: 8.137 MB / 0.5947 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0393/0.474, allocations: 36.43 MB / 0.6303 GB, free: 9.754 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/0.4813, allocations: 3.677 MB / 0.6339 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.4838, allocations: 2.072 MB / 0.6359 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/0.4842, allocations: 344 kB / 0.6362 GB, free: 3.449 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.4843, allocations: 47.56 kB / 0.6363 GB, free: 3.391 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 5.049e-06/0.4843, allocations: 112 / 0.6363 GB, free: 3.391 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.03543/0.5197, allocations: 16.18 MB / 0.6521 GB, free: 3.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.5199, allocations: 179.2 kB / 0.6522 GB, free: 2.887 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.5244, allocations: 3.623 MB / 0.6558 GB, free: 15.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/0.5246, allocations: 49.7 kB / 0.6558 GB, free: 15.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/0.5263, allocations: 2.803 MB / 0.6586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006144/0.5269, allocations: 0.6827 MB / 0.6592 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.5272, allocations: 108 kB / 0.6593 GB, free: 11.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003054/0.5275, allocations: 0.5495 MB / 0.6599 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/0.5306, allocations: 2.268 MB / 0.6621 GB, free: 8.738 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005065/0.5357, allocations: 5.619 MB / 0.6676 GB, free: 1.449 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00944/0.5452, allocations: 8.514 MB / 0.6759 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.232e-05/0.5453, allocations: 36 kB / 0.6759 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.194/0.7393, allocations: 8.72 MB / 0.6844 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.7394, allocations: 55.34 kB / 0.6845 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.7395, allocations: 117.1 kB / 0.6846 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/0.7429, allocations: 1.219 MB / 0.6858 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/0.7474, allocations: 1.3 MB / 0.6871 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008467/0.7559, allocations: 7.153 MB / 0.694 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/0.7598, allocations: 332.8 kB / 0.6944 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006924/0.7605, allocations: 348.2 kB / 0.6947 GB, free: 143.6 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.002725/0.7633, allocations: 1.97 MB / 0.6966 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.7638, allocations: 319.1 kB / 0.6969 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005969/0.7697, allocations: 3.931 MB / 0.7008 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/0.7698, allocations: 19.66 kB / 0.7008 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.7698, allocations: 11.33 kB / 0.7008 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.7698, allocations: 10.64 kB / 0.7008 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.7825, allocations: 9.016 MB / 0.7096 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.7826, allocations: 0 / 0.7096 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.7838, allocations: 276 kB / 0.7099 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/0.7861, allocations: 1.054 MB / 0.7109 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.7863, allocations: 33.31 kB / 0.7109 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007298/0.7936, allocations: 6.722 MB / 0.7175 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7936, allocations: 1.188 kB / 0.7175 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009712/0.8034, allocations: 6.825 MB / 0.7242 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.805, allocations: 0.6807 MB / 0.7248 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000506/0.8055, allocations: 30.39 kB / 0.7249 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.8069, allocations: 116.3 kB / 0.725 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.8072, allocations: 93.92 kB / 0.7251 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.8074, allocations: 49.03 kB / 0.7251 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004035/0.8114, allocations: 2.261 MB / 0.7273 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8114, allocations: 5.125 kB / 0.7273 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005289/0.8167, allocations: 0.9633 MB / 0.7283 GB, free: 130.5 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.0005127/0.8173, allocations: 166.5 kB / 0.7284 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008314/0.8256, allocations: 5.48 MB / 0.7338 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.8256, allocations: 3.688 kB / 0.7338 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.8287, allocations: 2.027 MB / 0.7357 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.8313, allocations: 369.4 kB / 0.7361 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.8446, allocations: 10.91 MB / 0.7468 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/0.8472, allocations: 3.053 MB / 0.7497 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.8482, allocations: 267.1 kB / 0.75 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.8482, allocations: 4 kB / 0.75 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.07279/0.921, allocations: 71.74 MB / 0.8201 GB, free: 50.34 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