Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008987/0.0008986, allocations: 176 kB / 18.08 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 242.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008231/0.0008231, allocations: 95.59 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3429/0.3429, allocations: 44.15 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004344, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3646, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.4945, allocations: 110.3 MB / 0.6185 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4948, allocations: 83.94 kB / 0.6186 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5383/1.033, allocations: 98.85 MB / 0.7151 GB, free: 97.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.033, allocations: 0 / 0.7151 GB, free: 97.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004461/1.034, allocations: 94.41 kB / 0.7152 GB, free: 97.72 MB / 490.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.01905/1.053, allocations: 5.183 MB / 0.7202 GB, free: 95.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.053, allocations: 13.5 kB / 0.7203 GB, free: 95.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/1.07, allocations: 3.763 MB / 0.7239 GB, free: 95.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/1.082, allocations: 4.625 MB / 0.7285 GB, free: 93.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/1.082, allocations: 347.9 kB / 0.7288 GB, free: 93.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00251/1.085, allocations: 463.7 kB / 0.7292 GB, free: 93.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/1.112, allocations: 12.59 MB / 0.7415 GB, free: 86.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003744/1.112, allocations: 74.67 kB / 0.7416 GB, free: 86.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/1.114, allocations: 225.3 kB / 0.7418 GB, free: 86.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/1.116, allocations: 1.263 MB / 0.743 GB, free: 86.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02128/1.137, allocations: 10.78 MB / 0.7536 GB, free: 83.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06337/1.2, allocations: 55.74 MB / 0.808 GB, free: 35.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/1.22, allocations: 5.868 MB / 0.8137 GB, free: 29.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005446/1.226, allocations: 3.06 MB / 0.8167 GB, free: 25.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02699/1.253, allocations: 12.94 MB / 0.8294 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.253, allocations: 59.86 kB / 0.8294 GB, free: 12.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 7.414e-06/1.253, allocations: 0 / 0.8294 GB, free: 12.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.1415/1.394, allocations: 35.51 MB / 0.8641 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.395, allocations: 201.9 kB / 0.8643 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007503/1.402, allocations: 4.364 MB / 0.8686 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007398/1.403, allocations: 73.53 kB / 0.8686 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002651/1.405, allocations: 3.436 MB / 0.872 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.2832/1.689, allocations: 0.9397 MB / 0.8729 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/1.69, allocations: 136.3 kB / 0.873 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006121/1.691, allocations: 0.5938 MB / 0.8736 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006084/1.697, allocations: 3.076 MB / 0.8766 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00752/1.705, allocations: 7.009 MB / 0.8835 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.717, allocations: 10.89 MB / 0.8941 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002525/1.717, allocations: 39.5 kB / 0.8941 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02922/1.747, allocations: 12.58 MB / 0.9064 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/1.747, allocations: 64.34 kB / 0.9065 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003361/1.747, allocations: 136.8 kB / 0.9066 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/1.758, allocations: 3.202 MB / 0.9097 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006365/1.764, allocations: 1.554 MB / 0.9113 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/1.785, allocations: 14.99 MB / 0.9259 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006608/1.792, allocations: 481.3 kB / 0.9264 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.794, allocations: 400.6 kB / 0.9267 GB, free: 98.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (809): * Single equations (assignments): 805 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005255/1.799, allocations: 2.356 MB / 0.929 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008789/1.8, allocations: 402.8 kB / 0.9294 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.813, allocations: 7.413 MB / 0.9367 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.71e-05/1.813, allocations: 29.94 kB / 0.9367 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.813, allocations: 10.47 kB / 0.9367 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/1.813, allocations: 14.8 kB / 0.9367 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/1.838, allocations: 15.03 MB / 0.9514 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-05/1.838, allocations: 7.719 kB / 0.9514 GB, free: 89.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.84, allocations: 379.2 kB / 0.9518 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007746/1.848, allocations: 2.88 MB / 0.9546 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004786/1.848, allocations: 41.41 kB / 0.9546 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.865, allocations: 13.3 MB / 0.9676 GB, free: 81.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.865, allocations: 0 / 0.9676 GB, free: 81.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/1.882, allocations: 11.32 MB / 0.9787 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/1.883, allocations: 447.4 kB / 0.9791 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007289/1.884, allocations: 44.34 kB / 0.9791 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.886, allocations: 206 kB / 0.9793 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000522/1.887, allocations: 148.3 kB / 0.9795 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.887, allocations: 70.03 kB / 0.9795 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004227/1.891, allocations: 2.722 MB / 0.9822 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.934e-06/1.891, allocations: 4 kB / 0.9822 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006944/1.898, allocations: 1.324 MB / 0.9835 GB, free: 68.04 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005735/1.899, allocations: 178 kB / 0.9837 GB, free: 67.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.91, allocations: 7.782 MB / 0.9913 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.91, allocations: 0 / 0.9913 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/1.915, allocations: 3.072 MB / 0.9943 GB, free: 58.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/1.919, allocations: 496.2 kB / 0.9947 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/1.94, allocations: 13.61 MB / 1.008 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003806/1.944, allocations: 3.665 MB / 1.012 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005525/1.949, allocations: 2.171 MB / 1.014 GB, free: 40 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009215/1.95, allocations: 287.4 kB / 1.014 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of SimCode: time 1.924e-06/1.95, allocations: 1.125 kB / 1.014 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.0895/2.04, allocations: 53.89 MB / 1.067 GB, free: 2.508 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches