Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 177.1 kB / 17.06 MB, free: 5.094 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.254/1.254, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008791/0.000879, allocations: 89.06 kB / 292.2 MB, free: 10.89 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.3148/0.3148, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 61.89 MB / 0.5096 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4486, allocations: 117.4 MB / 0.6242 GB, free: 9.625 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4489, allocations: 83.95 kB / 0.6243 GB, free: 9.543 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5359/0.9849, allocations: 144.8 MB / 0.7657 GB, free: 64.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.9849, allocations: 0 / 0.7657 GB, free: 64.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002843/0.9852, allocations: 132 kB / 0.7659 GB, free: 64.85 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02197/1.007, allocations: 7.262 MB / 0.773 GB, free: 58.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.007, allocations: 12.03 kB / 0.773 GB, free: 58.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03315/1.04, allocations: 9.32 MB / 0.7821 GB, free: 49.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/1.061, allocations: 8.704 MB / 0.7906 GB, free: 42.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/1.062, allocations: 478.9 kB / 0.791 GB, free: 42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/1.065, allocations: 0.6345 MB / 0.7916 GB, free: 41.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03094/1.096, allocations: 15.66 MB / 0.8069 GB, free: 24.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005007/1.096, allocations: 75.31 kB / 0.807 GB, free: 24.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002685/1.099, allocations: 301.8 kB / 0.8073 GB, free: 24.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001842/1.101, allocations: 1.393 MB / 0.8087 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/1.124, allocations: 12.91 MB / 0.8213 GB, free: 9.988 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3269/1.451, allocations: 64.38 MB / 0.8841 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/1.467, allocations: 6.263 MB / 0.8902 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/1.481, allocations: 11.13 MB / 0.9011 GB, free: 69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.482, allocations: 62.22 kB / 0.9012 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 5.61e-06/1.482, allocations: 3.125 kB / 0.9012 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=337): time 0.1143/1.596, allocations: 37.2 MB / 0.9375 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/1.596, allocations: 246.4 kB / 0.9377 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006398/1.602, allocations: 4.968 MB / 0.9426 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006412/1.603, allocations: 76.39 kB / 0.9427 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002087/1.605, allocations: 4.464 MB / 0.947 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.606, allocations: 1.235 MB / 0.9482 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/1.607, allocations: 169.7 kB / 0.9484 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003012/1.607, allocations: 0.6465 MB / 0.949 GB, free: 60.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/1.611, allocations: 3.609 MB / 0.9525 GB, free: 60.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005659/1.617, allocations: 8.142 MB / 0.9605 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006585/1.623, allocations: 5.319 MB / 0.9657 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/1.624, allocations: 43.97 kB / 0.9657 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02936/1.653, allocations: 14.74 MB / 0.9801 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.653, allocations: 72.88 kB / 0.9802 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002028/1.653, allocations: 158.8 kB / 0.9803 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/1.665, allocations: 3.578 MB / 0.9838 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/1.67, allocations: 1.806 MB / 0.9856 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/1.693, allocations: 18.64 MB / 1.004 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007238/1.701, allocations: 483.4 kB / 1.004 GB, free: 27.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00202/1.703, allocations: 475.6 kB / 1.005 GB, free: 27.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (972): * Single equations (assignments): 968 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007165/1.71, allocations: 3.116 MB / 1.008 GB, free: 24.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.711, allocations: 0.5294 MB / 1.008 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/1.729, allocations: 8.88 MB / 1.017 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-05/1.729, allocations: 32 kB / 1.017 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.729, allocations: 23.19 kB / 1.017 GB, free: 17.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-05/1.729, allocations: 13.88 kB / 1.017 GB, free: 17.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.763, allocations: 18.66 MB / 1.035 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.138e-05/1.763, allocations: 8 kB / 1.035 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/1.766, allocations: 490.5 kB / 1.036 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/1.777, allocations: 3.122 MB / 1.039 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006612/1.777, allocations: 60 kB / 1.039 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02405/1.801, allocations: 16.32 MB / 1.055 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.801, allocations: 8 kB / 1.055 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0264/1.828, allocations: 14.15 MB / 1.069 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.83, allocations: 0.5527 MB / 1.069 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/1.832, allocations: 62.91 kB / 1.069 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/1.835, allocations: 203.7 kB / 1.069 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007151/1.836, allocations: 226.2 kB / 1.07 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/1.836, allocations: 87.98 kB / 1.07 GB, free: 14.83 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006567/1.843, allocations: 3.514 MB / 1.073 GB, free: 11.35 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.1e-07/1.843, allocations: 0 / 1.073 GB, free: 11.35 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008077/1.851, allocations: 1.683 MB / 1.075 GB, free: 9.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008498/1.852, allocations: 247.9 kB / 1.075 GB, free: 9.445 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01509/1.867, allocations: 8.918 MB / 1.084 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.867, allocations: 4 kB / 1.084 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005416/1.872, allocations: 3.484 MB / 1.087 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/1.876, allocations: 0.6861 MB / 1.088 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2536/2.13, allocations: 17.89 MB / 1.105 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01372/2.144, allocations: 4.952 MB / 1.11 GB, free: 158 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01376/2.157, allocations: 2.591 MB / 1.113 GB, free: 158 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/2.159, allocations: 348.3 kB / 1.113 GB, free: 158 MB / 0.5886 GB Notification: Performance of SimCode: time 1.212e-06/2.159, allocations: 0 / 1.113 GB, free: 158 MB / 0.5886 GB Notification: Performance of Templates: time 0.1322/2.292, allocations: 68.69 MB / 1.18 GB, free: 151.1 MB / 0.5886 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches