Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008879/0.0008879, allocations: 175.5 kB / 16.72 MB, free: 4.961 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.232/1.232, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007436/0.0007437, allocations: 88.98 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.2994/0.2994, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 12 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2231/0.3328, allocations: 39.36 MB / 0.5178 GB, free: 22.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01848/0.3513, allocations: 9.113 MB / 0.5267 GB, free: 16.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008044/0.3594, allocations: 184.3 kB / 0.5268 GB, free: 16.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005639/0.3651, allocations: 2.02 MB / 0.5288 GB, free: 15.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01543/0.3805, allocations: 6.191 MB / 0.5349 GB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.3843, allocations: 0.9055 MB / 0.5357 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02458/0.4089, allocations: 19.89 MB / 0.5552 GB, free: 6.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007352/0.4163, allocations: 4.353 MB / 0.5594 GB, free: 4.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.4192, allocations: 1.475 MB / 0.5608 GB, free: 2.676 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.4222, allocations: 2.348 MB / 0.5631 GB, free: 328 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009247/0.4232, allocations: 172 kB / 0.5633 GB, free: 156 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.4261, allocations: 1.295 MB / 0.5646 GB, free: 14.85 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.4288, allocations: 1.964 MB / 0.5665 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003904/0.4327, allocations: 2.157 MB / 0.5686 GB, free: 10.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006704/0.4394, allocations: 6.149 MB / 0.5746 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4394, allocations: 0 / 0.5746 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4395, allocations: 0 / 0.5746 GB, free: 4.547 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002088/0.4397, allocations: 0 / 0.5746 GB, free: 4.547 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01035/0.45, allocations: 4.79 MB / 0.5793 GB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4501, allocations: 8.031 kB / 0.5793 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/0.4643, allocations: 2.662 MB / 0.5819 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006446/0.4708, allocations: 3.252 MB / 0.5851 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.471, allocations: 258.8 kB / 0.5853 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.4721, allocations: 352 kB / 0.5856 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/0.4914, allocations: 12.35 MB / 0.5977 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.4916, allocations: 63.42 kB / 0.5978 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004552/0.492, allocations: 163.8 kB / 0.5979 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003396/0.4954, allocations: 2.381 MB / 0.6002 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.5161, allocations: 10.82 MB / 0.6108 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05811/0.5743, allocations: 48.83 MB / 0.6585 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.5886, allocations: 6.044 MB / 0.6644 GB, free: 6.109 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004098/0.5928, allocations: 3.287 MB / 0.6676 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2496/0.8424, allocations: 13.53 MB / 0.6808 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.8425, allocations: 51.25 kB / 0.6809 GB, free: 134.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 6.092e-06/0.8425, allocations: 0 / 0.6809 GB, free: 134.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.08959/0.9321, allocations: 36.43 MB / 0.7165 GB, free: 124.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.9322, allocations: 214.3 kB / 0.7167 GB, free: 123.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005342/0.9375, allocations: 4.368 MB / 0.7209 GB, free: 122.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004251/0.938, allocations: 66.83 kB / 0.721 GB, free: 122.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.9395, allocations: 3.367 MB / 0.7243 GB, free: 119.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008471/0.9403, allocations: 0.9897 MB / 0.7252 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/0.9407, allocations: 139.2 kB / 0.7254 GB, free: 118.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002637/0.941, allocations: 0.612 MB / 0.726 GB, free: 118.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003766/0.9447, allocations: 3.258 MB / 0.7292 GB, free: 117.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005494/0.9502, allocations: 7.171 MB / 0.7362 GB, free: 110.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.9608, allocations: 11.2 MB / 0.7471 GB, free: 97.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.063e-05/0.961, allocations: 40 kB / 0.7471 GB, free: 97.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02281/0.9838, allocations: 13.21 MB / 0.76 GB, free: 83.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.9839, allocations: 76.17 kB / 0.7601 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.9841, allocations: 136 kB / 0.7602 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008531/0.9926, allocations: 3.402 MB / 0.7636 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004933/0.9976, allocations: 1.579 MB / 0.7651 GB, free: 78.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/1.017, allocations: 16.37 MB / 0.7811 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/1.022, allocations: 431.4 kB / 0.7815 GB, free: 61.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000944/1.023, allocations: 412 kB / 0.7819 GB, free: 61.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,60.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003643/1.027, allocations: 2.351 MB / 0.7842 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008409/1.028, allocations: 402.8 kB / 0.7846 GB, free: 58.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.041, allocations: 7.994 MB / 0.7924 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.592e-05/1.041, allocations: 35.94 kB / 0.7924 GB, free: 50.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.041, allocations: 8 kB / 0.7924 GB, free: 50.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-05/1.041, allocations: 19.89 kB / 0.7924 GB, free: 50.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/1.067, allocations: 15.52 MB / 0.8076 GB, free: 34.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/1.067, allocations: 0 / 0.8076 GB, free: 34.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/1.069, allocations: 384.4 kB / 0.808 GB, free: 34.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008237/1.077, allocations: 3.173 MB / 0.8111 GB, free: 31.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004874/1.078, allocations: 44.88 kB / 0.8111 GB, free: 31.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/1.095, allocations: 14.68 MB / 0.8254 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.095, allocations: 3.938 kB / 0.8254 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/1.113, allocations: 12.11 MB / 0.8373 GB, free: 4.383 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.116, allocations: 0.9501 MB / 0.8382 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007528/1.116, allocations: 47.83 kB / 0.8382 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.119, allocations: 187.7 kB / 0.8384 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/1.119, allocations: 154.2 kB / 0.8386 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.119, allocations: 70.98 kB / 0.8386 GB, free: 2.969 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003513/1.123, allocations: 2.722 MB / 0.8413 GB, free: 248 kB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.123, allocations: 0 / 0.8413 GB, free: 248 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.006132/1.129, allocations: 1.37 MB / 0.8426 GB, free: 14.87 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 (197): * Single equations (assignments): 193 * 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 {(5,60.0%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/1.129, allocations: 184.6 kB / 0.8428 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.143, allocations: 8.127 MB / 0.8507 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.143, allocations: 4 kB / 0.8507 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.1968/1.34, allocations: 3.295 MB / 0.854 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004935/1.345, allocations: 489.9 kB / 0.8544 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.368, allocations: 14.33 MB / 0.8684 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003837/1.372, allocations: 3.66 MB / 0.872 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.374, allocations: 332.3 kB / 0.8723 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/1.374, allocations: 0 / 0.8723 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.1029/1.476, allocations: 91.67 MB / 0.9618 GB, free: 77.05 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches