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.001225/0.001225, allocations: 175.8 kB / 17.06 MB, free: 5.098 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.313/1.313, allocations: 223.2 MB / 241 MB, free: 11.86 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.000854/0.0008538, allocations: 90.42 kB / 292.2 MB, free: 10.91 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.3601/0.3601, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003226, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3696, allocations: 61.91 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5146, allocations: 110.2 MB / 0.6172 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.515, allocations: 75.97 kB / 0.6173 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5185/1.034, allocations: 100.4 MB / 0.7153 GB, free: 98.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.034, allocations: 0 / 0.7153 GB, free: 98.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002431/1.034, allocations: 87.31 kB / 0.7154 GB, free: 98.26 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.02052/1.054, allocations: 5.439 MB / 0.7207 GB, free: 96.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.054, allocations: 9.406 kB / 0.7207 GB, free: 96.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/1.074, allocations: 4.613 MB / 0.7252 GB, free: 95.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/1.09, allocations: 5.798 MB / 0.7309 GB, free: 93.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/1.09, allocations: 345.8 kB / 0.7312 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/1.092, allocations: 466.5 kB / 0.7317 GB, free: 93.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/1.115, allocations: 12.72 MB / 0.7441 GB, free: 87.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/1.116, allocations: 71.53 kB / 0.7441 GB, free: 87.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/1.117, allocations: 221.6 kB / 0.7444 GB, free: 86.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/1.118, allocations: 1.266 MB / 0.7456 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/1.14, allocations: 10.95 MB / 0.7563 GB, free: 83.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05936/1.199, allocations: 55.83 MB / 0.8108 GB, free: 31.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/1.213, allocations: 5.943 MB / 0.8166 GB, free: 25.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01843/1.231, allocations: 13.06 MB / 0.8294 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/1.231, allocations: 59.38 kB / 0.8294 GB, free: 11.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 5.64e-06/1.231, allocations: 0 / 0.8294 GB, free: 11.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.09806/1.329, allocations: 36.05 MB / 0.8646 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.329, allocations: 214.2 kB / 0.8648 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00777/1.337, allocations: 3.883 MB / 0.8686 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009193/1.338, allocations: 61.7 kB / 0.8687 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.2999/1.638, allocations: 3.441 MB / 0.872 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001924/1.64, allocations: 0.9487 MB / 0.873 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008543/1.641, allocations: 135.8 kB / 0.8731 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005224/1.641, allocations: 0.593 MB / 0.8737 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/1.647, allocations: 3.081 MB / 0.8767 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/1.654, allocations: 6.989 MB / 0.8835 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00673/1.66, allocations: 4.522 MB / 0.8879 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.013e-05/1.66, allocations: 42.84 kB / 0.888 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02357/1.684, allocations: 12.58 MB / 0.9002 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/1.684, allocations: 67.56 kB / 0.9003 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000216/1.684, allocations: 137.5 kB / 0.9004 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009464/1.694, allocations: 3.221 MB / 0.9036 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006469/1.7, allocations: 1.554 MB / 0.9051 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/1.724, allocations: 15.54 MB / 0.9203 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006807/1.731, allocations: 476.6 kB / 0.9207 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/1.732, allocations: 409.9 kB / 0.9211 GB, free: 104.5 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.005408/1.738, allocations: 2.341 MB / 0.9234 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000955/1.739, allocations: 409.4 kB / 0.9238 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.752, allocations: 7.409 MB / 0.931 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/1.752, allocations: 27.86 kB / 0.931 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/1.752, allocations: 20.14 kB / 0.9311 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.832e-05/1.752, allocations: 13.5 kB / 0.9311 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/1.779, allocations: 15.02 MB / 0.9457 GB, free: 95.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/1.779, allocations: 0 / 0.9457 GB, free: 95.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/1.781, allocations: 384 kB / 0.9461 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007891/1.789, allocations: 2.874 MB / 0.9489 GB, free: 94.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005337/1.79, allocations: 49.62 kB / 0.949 GB, free: 94.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/1.807, allocations: 13.85 MB / 0.9625 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.807, allocations: 4 kB / 0.9625 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/1.824, allocations: 11.4 MB / 0.9736 GB, free: 78.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.826, allocations: 453.4 kB / 0.9741 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007798/1.827, allocations: 36 kB / 0.9741 GB, free: 77.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.829, allocations: 210.3 kB / 0.9743 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004805/1.829, allocations: 145.8 kB / 0.9744 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.83, allocations: 71.91 kB / 0.9745 GB, free: 77.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003865/1.834, allocations: 2.728 MB / 0.9772 GB, free: 75.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.834, allocations: 0 / 0.9772 GB, free: 75.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006901/1.84, allocations: 1.316 MB / 0.9784 GB, free: 73.85 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.0006384/1.841, allocations: 182.7 kB / 0.9786 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.852, allocations: 7.771 MB / 0.9862 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.852, allocations: 4 kB / 0.9862 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004045/1.856, allocations: 3.075 MB / 0.9892 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.859, allocations: 464.7 kB / 0.9897 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/1.879, allocations: 13.56 MB / 1.003 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/1.883, allocations: 3.773 MB / 1.007 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005128/1.888, allocations: 2.176 MB / 1.009 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.889, allocations: 279.4 kB / 1.009 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/1.889, allocations: 0 / 1.009 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.08881/1.978, allocations: 53.79 MB / 1.062 GB, free: 8.648 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