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.0012/0.0012, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0009132/0.0009132, allocations: 94.84 kB / 281.6 MB, free: 5.312 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.2067/0.2067, allocations: 44.13 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.924e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 61.91 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5954, allocations: 109.5 MB / 0.6016 GB, free: 2.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5957, allocations: 79.95 kB / 0.6017 GB, free: 2.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5632/1.159, allocations: 98.57 MB / 0.6979 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.374e-06/1.159, allocations: 0.9375 kB / 0.6979 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003751/1.159, allocations: 87 kB / 0.698 GB, free: 111.3 MB / 0.4948 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.01819/1.178, allocations: 5.106 MB / 0.703 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.178, allocations: 13.78 kB / 0.703 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/1.199, allocations: 4.615 MB / 0.7075 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/1.216, allocations: 5.766 MB / 0.7131 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/1.216, allocations: 147.2 kB / 0.7133 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/1.218, allocations: 271.1 kB / 0.7135 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01287/1.231, allocations: 7.428 MB / 0.7208 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/1.251, allocations: 10.85 MB / 0.7314 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003866/1.252, allocations: 68.69 kB / 0.7315 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002366/1.254, allocations: 32.59 kB / 0.7315 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001974/1.256, allocations: 1.27 MB / 0.7327 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06197/1.318, allocations: 54.3 MB / 0.7857 GB, free: 69.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/1.323, allocations: 4.368 MB / 0.79 GB, free: 67.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/1.325, allocations: 2.948 MB / 0.7929 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/1.34, allocations: 12.14 MB / 0.8047 GB, free: 59.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/1.34, allocations: 57.47 kB / 0.8048 GB, free: 59.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 6.101e-06/1.34, allocations: 3.938 kB / 0.8048 GB, free: 59.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.06377/1.404, allocations: 28.73 MB / 0.8329 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/1.404, allocations: 205.9 kB / 0.8331 GB, free: 35.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005136/1.409, allocations: 3.292 MB / 0.8363 GB, free: 33.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005931/1.41, allocations: 25.7 kB / 0.8363 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.411, allocations: 3.491 MB / 0.8397 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009157/1.412, allocations: 0.9284 MB / 0.8406 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/1.412, allocations: 3.938 kB / 0.8406 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002616/1.413, allocations: 0.6017 MB / 0.8412 GB, free: 28.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.416, allocations: 2.904 MB / 0.844 GB, free: 25.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004684/1.42, allocations: 6.952 MB / 0.8508 GB, free: 17.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00518/1.426, allocations: 4.425 MB / 0.8552 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.598e-05/1.426, allocations: 40.84 kB / 0.8552 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02219/1.448, allocations: 11.64 MB / 0.8666 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/1.448, allocations: 68 kB / 0.8666 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002292/1.448, allocations: 144 kB / 0.8668 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008507/1.457, allocations: 3.168 MB / 0.8699 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/1.463, allocations: 1.614 MB / 0.8714 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02479/1.488, allocations: 13.83 MB / 0.8849 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006564/1.494, allocations: 347.2 kB / 0.8853 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/1.496, allocations: 428.5 kB / 0.8857 GB, free: 15.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * 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 (839): * Single equations (assignments): 835 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002304/1.499, allocations: 474.4 kB / 0.8861 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.5, allocations: 367.2 kB / 0.8865 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.516, allocations: 7.146 MB / 0.8935 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/1.516, allocations: 28.55 kB / 0.8935 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.639e-05/1.516, allocations: 8 kB / 0.8935 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/1.516, allocations: 19.91 kB / 0.8935 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3457/1.862, allocations: 13.89 MB / 0.9071 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-05/1.862, allocations: 1.281 kB / 0.9071 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.865, allocations: 379 kB / 0.9074 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009959/1.875, allocations: 2.861 MB / 0.9102 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00068/1.875, allocations: 6.812 kB / 0.9102 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/1.895, allocations: 12.33 MB / 0.9223 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.895, allocations: 3.938 kB / 0.9223 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/1.913, allocations: 11.09 MB / 0.9331 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.914, allocations: 414.9 kB / 0.9335 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/1.916, allocations: 3.969 kB / 0.9335 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/1.919, allocations: 167.8 kB / 0.9337 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000965/1.92, allocations: 148.1 kB / 0.9338 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005091/1.921, allocations: 63.59 kB / 0.9339 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004843/1.926, allocations: 2.201 MB / 0.936 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.4e-07/1.926, allocations: 0 / 0.936 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00819/1.934, allocations: 1.131 MB / 0.9371 GB, free: 124.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.000994/1.935, allocations: 152.7 kB / 0.9373 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.948, allocations: 7.455 MB / 0.9445 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.948, allocations: 0 / 0.9445 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00478/1.953, allocations: 2.958 MB / 0.9474 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/1.956, allocations: 383.4 kB / 0.9478 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.977, allocations: 9.655 MB / 0.9572 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005758/1.982, allocations: 3.761 MB / 0.9609 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005996/1.988, allocations: 2.211 MB / 0.9631 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.99, allocations: 267.8 kB / 0.9633 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/1.99, allocations: 0 / 0.9633 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.083/2.073, allocations: 48.51 MB / 1.011 GB, free: 88.59 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