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.001272/0.001272, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.262/1.262, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008562/0.0008562, allocations: 95.78 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.984e-05, allocations: 4 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.377/0.501, allocations: 110.1 MB / 0.6093 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5013, allocations: 79.52 kB / 0.6093 GB, free: 11.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2428/0.7442, allocations: 100.5 MB / 0.7074 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.225e-06/0.7442, allocations: 0 / 0.7074 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001833/0.7444, allocations: 91.98 kB / 0.7075 GB, free: 5.848 MB / 0.5105 GB 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.01308/0.7575, allocations: 5.11 MB / 0.7125 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7575, allocations: 8.031 kB / 0.7125 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2718/1.029, allocations: 4.609 MB / 0.717 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.046, allocations: 5.764 MB / 0.7226 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003992/1.047, allocations: 348.2 kB / 0.723 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/1.05, allocations: 467.5 kB / 0.7234 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/1.079, allocations: 12.61 MB / 0.7357 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003045/1.08, allocations: 63.66 kB / 0.7358 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/1.081, allocations: 221 kB / 0.736 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/1.083, allocations: 1.277 MB / 0.7373 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/1.103, allocations: 10.73 MB / 0.7477 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05535/1.158, allocations: 55.8 MB / 0.8022 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/1.172, allocations: 5.934 MB / 0.808 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003093/1.175, allocations: 3.025 MB / 0.811 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/1.19, allocations: 13.03 MB / 0.8237 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.19, allocations: 51.06 kB / 0.8238 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 4.017e-06/1.19, allocations: 3.938 kB / 0.8238 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.07513/1.266, allocations: 30.46 MB / 0.8535 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.266, allocations: 209.9 kB / 0.8537 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004566/1.27, allocations: 3.812 MB / 0.8574 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004072/1.271, allocations: 69.7 kB / 0.8575 GB, free: 39.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.272, allocations: 3.44 MB / 0.8609 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008353/1.273, allocations: 0.9465 MB / 0.8618 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/1.273, allocations: 136 kB / 0.8619 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002998/1.274, allocations: 0.5922 MB / 0.8625 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/1.277, allocations: 2.999 MB / 0.8654 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005018/1.282, allocations: 6.903 MB / 0.8722 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005444/1.288, allocations: 4.484 MB / 0.8765 GB, free: 19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.178e-05/1.288, allocations: 40 kB / 0.8766 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02141/1.309, allocations: 12.4 MB / 0.8887 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/1.309, allocations: 64 kB / 0.8887 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.309, allocations: 140 kB / 0.8889 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007987/1.317, allocations: 3.206 MB / 0.892 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004962/1.322, allocations: 1.552 MB / 0.8935 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/1.344, allocations: 14.94 MB / 0.9081 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.35, allocations: 471.3 kB / 0.9086 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/1.351, allocations: 412 kB / 0.909 GB, free: 1.648 MB / 0.5261 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 () * 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.001131/1.353, allocations: 0.6145 MB / 0.9096 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000864/1.353, allocations: 402.8 kB / 0.91 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2825/1.636, allocations: 7.358 MB / 0.9171 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-05/1.636, allocations: 28.19 kB / 0.9172 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/1.636, allocations: 10.06 kB / 0.9172 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.196e-05/1.636, allocations: 16.05 kB / 0.9172 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/1.664, allocations: 14.97 MB / 0.9318 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/1.664, allocations: 1.062 kB / 0.9318 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.666, allocations: 379.8 kB / 0.9322 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008015/1.674, allocations: 2.875 MB / 0.935 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000508/1.674, allocations: 38.53 kB / 0.935 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/1.691, allocations: 13.24 MB / 0.9479 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.691, allocations: 3.094 kB / 0.948 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/1.708, allocations: 11.33 MB / 0.959 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.709, allocations: 445.2 kB / 0.9594 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009343/1.71, allocations: 42.42 kB / 0.9595 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002501/1.713, allocations: 201.8 kB / 0.9597 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007372/1.713, allocations: 153 kB / 0.9598 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.714, allocations: 67.28 kB / 0.9599 GB, free: 114 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005185/1.719, allocations: 2.653 MB / 0.9625 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.613e-06/1.719, allocations: 0 / 0.9625 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006854/1.726, allocations: 1.317 MB / 0.9638 GB, free: 112.9 MB / 0.5261 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 () * 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.0006196/1.726, allocations: 188.9 kB / 0.9639 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.737, allocations: 7.65 MB / 0.9714 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.737, allocations: 0 / 0.9714 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004335/1.742, allocations: 3.033 MB / 0.9744 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.744, allocations: 470.1 kB / 0.9748 GB, free: 109 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.761, allocations: 9.783 MB / 0.9844 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003286/1.764, allocations: 3.763 MB / 0.9881 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00511/1.769, allocations: 2.183 MB / 0.9902 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009636/1.77, allocations: 277.8 kB / 0.9905 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/1.77, allocations: 0 / 0.9905 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.07729/1.847, allocations: 53.61 MB / 1.043 GB, free: 62.72 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/jenkins/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