Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008764, allocations: 90.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2522/0.2522, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5756, allocations: 114.7 MB / 0.5908 GB, free: 1.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.576, allocations: 85.33 kB / 0.5909 GB, free: 1.426 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6615/1.238, allocations: 123.5 MB / 0.7115 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.679e-06/1.238, allocations: 0 / 0.7115 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008723/1.239, allocations: 107.9 kB / 0.7116 GB, free: 107.8 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.03668/1.275, allocations: 6.04 MB / 0.7175 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.439e-05/1.275, allocations: 11.84 kB / 0.7175 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03426/1.31, allocations: 4.728 MB / 0.7221 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02763/1.337, allocations: 6.675 MB / 0.7286 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/1.339, allocations: 444.3 kB / 0.7291 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004819/1.343, allocations: 0.545 MB / 0.7296 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05305/1.397, allocations: 14.21 MB / 0.7435 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007306/1.397, allocations: 69.94 kB / 0.7435 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004332/1.402, allocations: 260.6 kB / 0.7438 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003138/1.405, allocations: 1.294 MB / 0.745 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03971/1.445, allocations: 11.89 MB / 0.7567 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0989/1.544, allocations: 59.33 MB / 0.8146 GB, free: 60.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/1.563, allocations: 4.69 MB / 0.8192 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02598/1.589, allocations: 12.62 MB / 0.8315 GB, free: 51.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/1.589, allocations: 51.88 kB / 0.8315 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 6.592e-06/1.589, allocations: 0 / 0.8315 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.1264/1.715, allocations: 39.81 MB / 0.8704 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.715, allocations: 235.6 kB / 0.8706 GB, free: 17.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008038/1.723, allocations: 4.265 MB / 0.8748 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006961/1.724, allocations: 69.56 kB / 0.8749 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002193/1.726, allocations: 3.921 MB / 0.8787 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.728, allocations: 0.9164 MB / 0.8796 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/1.728, allocations: 140 kB / 0.8797 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003156/1.728, allocations: 0.6118 MB / 0.8803 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00431/1.733, allocations: 3.255 MB / 0.8835 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007442/1.74, allocations: 7.526 MB / 0.8909 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008276/1.748, allocations: 4.799 MB / 0.8955 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.748, allocations: 44 kB / 0.8956 GB, free: 6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.3408/2.089, allocations: 13.86 MB / 0.9091 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/2.089, allocations: 73.3 kB / 0.9092 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/2.09, allocations: 150.9 kB / 0.9093 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/2.103, allocations: 3.813 MB / 0.9131 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006534/2.109, allocations: 1.616 MB / 0.9146 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/2.135, allocations: 18.65 MB / 0.9329 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008661/2.144, allocations: 488.1 kB / 0.9333 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/2.145, allocations: 432.4 kB / 0.9337 GB, free: 106.3 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.005457/2.15, allocations: 2.669 MB / 0.9363 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009983/2.151, allocations: 429.9 kB / 0.9367 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/2.169, allocations: 8.141 MB / 0.9447 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-05/2.169, allocations: 28.66 kB / 0.9447 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/2.169, allocations: 11.38 kB / 0.9447 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/2.169, allocations: 12.11 kB / 0.9447 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03505/2.204, allocations: 17.45 MB / 0.9618 GB, free: 99.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/2.204, allocations: 3.953 kB / 0.9618 GB, free: 99.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/2.206, allocations: 384.8 kB / 0.9622 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/2.217, allocations: 3.862 MB / 0.9659 GB, free: 99.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000525/2.218, allocations: 40.02 kB / 0.966 GB, free: 99.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/2.239, allocations: 17.09 MB / 0.9827 GB, free: 92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.239, allocations: 3.312 kB / 0.9827 GB, free: 92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/2.26, allocations: 12.66 MB / 0.995 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00343/2.263, allocations: 0.9394 MB / 0.9959 GB, free: 86.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.265, allocations: 34.75 kB / 0.996 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/2.267, allocations: 213.6 kB / 0.9962 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000546/2.268, allocations: 148.9 kB / 0.9963 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/2.268, allocations: 62.2 kB / 0.9964 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004661/2.273, allocations: 3.001 MB / 0.9993 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/2.273, allocations: 0 / 0.9993 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00756/2.28, allocations: 1.457 MB / 1.001 GB, free: 82.88 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.0006406/2.281, allocations: 216.8 kB / 1.001 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01111/2.292, allocations: 7.88 MB / 1.009 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/2.292, allocations: 0 / 1.009 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/2.296, allocations: 2.964 MB / 1.012 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/2.298, allocations: 499.9 kB / 1.012 GB, free: 73.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/2.319, allocations: 14.87 MB / 1.027 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003948/2.323, allocations: 4.212 MB / 1.031 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005275/2.328, allocations: 2.182 MB / 1.033 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008311/2.329, allocations: 286.6 kB / 1.033 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of SimCode: time 3.066e-06/2.329, allocations: 0 / 1.033 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.09387/2.423, allocations: 58.57 MB / 1.09 GB, free: 13.48 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches