Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 185.6 kB / 17.06 MB, free: 5.07 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.244/1.244, allocations: 223.2 MB / 241 MB, free: 11.84 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.0009253/0.0009253, allocations: 89.48 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.3522/0.3522, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 12 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3602, allocations: 61.9 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.5297, allocations: 116.8 MB / 0.6236 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.53, allocations: 83.95 kB / 0.6237 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5562/1.086, allocations: 125 MB / 0.7458 GB, free: 92.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.086, allocations: 0 / 0.7458 GB, free: 92.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004113/1.087, allocations: 114.8 kB / 0.7459 GB, free: 92.69 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02069/1.107, allocations: 6.004 MB / 0.7517 GB, free: 89.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.107, allocations: 14.22 kB / 0.7517 GB, free: 89.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/1.127, allocations: 4.724 MB / 0.7564 GB, free: 86.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01721/1.144, allocations: 6.372 MB / 0.7626 GB, free: 83.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005133/1.144, allocations: 438.6 kB / 0.763 GB, free: 83.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/1.147, allocations: 0.5519 MB / 0.7635 GB, free: 82.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03484/1.182, allocations: 14.21 MB / 0.7774 GB, free: 67.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004978/1.183, allocations: 67.39 kB / 0.7775 GB, free: 67.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003199/1.186, allocations: 267.8 kB / 0.7777 GB, free: 67.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/1.188, allocations: 1.294 MB / 0.779 GB, free: 66.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02556/1.214, allocations: 11.89 MB / 0.7906 GB, free: 54.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07191/1.286, allocations: 59.29 MB / 0.8485 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/1.299, allocations: 4.684 MB / 0.8531 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02214/1.321, allocations: 12.58 MB / 0.8654 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/1.321, allocations: 55.81 kB / 0.8654 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 6.091e-06/1.321, allocations: 0 / 0.8654 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.438/1.759, allocations: 39.68 MB / 0.9042 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.759, allocations: 232.7 kB / 0.9044 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/1.77, allocations: 4.249 MB / 0.9085 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007955/1.771, allocations: 62.83 kB / 0.9086 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003996/1.775, allocations: 3.91 MB / 0.9124 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/1.776, allocations: 0.9162 MB / 0.9133 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000542/1.777, allocations: 140.5 kB / 0.9135 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004122/1.777, allocations: 0.6087 MB / 0.914 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004786/1.782, allocations: 3.256 MB / 0.9172 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006072/1.788, allocations: 7.53 MB / 0.9246 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006351/1.795, allocations: 4.793 MB / 0.9293 GB, free: 102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-05/1.795, allocations: 47.97 kB / 0.9293 GB, free: 102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02735/1.822, allocations: 13.87 MB / 0.9428 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/1.822, allocations: 71.62 kB / 0.9429 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003039/1.823, allocations: 153.9 kB / 0.9431 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/1.833, allocations: 3.815 MB / 0.9468 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005819/1.839, allocations: 1.619 MB / 0.9484 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/1.865, allocations: 18.65 MB / 0.9666 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007192/1.872, allocations: 490.1 kB / 0.9671 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/1.874, allocations: 431.6 kB / 0.9675 GB, free: 82.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 855 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006517/1.88, allocations: 2.667 MB / 0.9701 GB, free: 80.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.882, allocations: 430.4 kB / 0.9705 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/1.899, allocations: 8.137 MB / 0.9784 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.676e-05/1.899, allocations: 24 kB / 0.9784 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-05/1.899, allocations: 12 kB / 0.9785 GB, free: 73.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-05/1.899, allocations: 23.61 kB / 0.9785 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04/1.939, allocations: 17.45 MB / 0.9955 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/1.939, allocations: 0 / 0.9955 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/1.941, allocations: 387.4 kB / 0.9959 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/1.952, allocations: 3.859 MB / 0.9997 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005505/1.952, allocations: 40.61 kB / 0.9997 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/1.974, allocations: 17.09 MB / 1.016 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.974, allocations: 4.031 kB / 1.016 GB, free: 37.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/1.995, allocations: 12.64 MB / 1.029 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/1.997, allocations: 475.3 kB / 1.029 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/1.999, allocations: 40 kB / 1.029 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003414/2.002, allocations: 211.9 kB / 1.029 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007983/2.003, allocations: 150 kB / 1.03 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003531/2.004, allocations: 60.83 kB / 1.03 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006557/2.01, allocations: 2.983 MB / 1.033 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/2.01, allocations: 0 / 1.033 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008596/2.019, allocations: 1.454 MB / 1.034 GB, free: 19.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009817/2.02, allocations: 213.1 kB / 1.034 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01191/2.032, allocations: 7.88 MB / 1.042 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/2.032, allocations: 0 / 1.042 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004097/2.036, allocations: 2.963 MB / 1.045 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/2.04, allocations: 499.5 kB / 1.045 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/2.065, allocations: 14.85 MB / 1.06 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005508/2.07, allocations: 4.204 MB / 1.064 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006215/2.076, allocations: 2.177 MB / 1.066 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009867/2.078, allocations: 283.4 kB / 1.066 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/2.078, allocations: 0 / 1.066 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.3885/2.466, allocations: 58.5 MB / 1.123 GB, free: 116.1 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches