Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.262/1.262, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0009709/0.0009704, allocations: 89.66 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000235/0.0002346, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2094, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3159, allocations: 92.3 MB / 468.1 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.3162, allocations: 95.94 kB / 468.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3453/0.6615, allocations: 83.08 MB / 0.5384 GB, free: 78.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6615, allocations: 0 / 0.5384 GB, free: 78.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001396/0.6617, allocations: 68 kB / 0.5384 GB, free: 78.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.009209/0.6709, allocations: 4.348 MB / 0.5427 GB, free: 73.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6709, allocations: 12.03 kB / 0.5427 GB, free: 73.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02259/0.6935, allocations: 6.605 MB / 0.5491 GB, free: 67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.7069, allocations: 5.87 MB / 0.5549 GB, free: 61.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.7071, allocations: 263 kB / 0.5551 GB, free: 60.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.7084, allocations: 359.8 kB / 0.5555 GB, free: 60.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.7217, allocations: 9.11 MB / 0.5644 GB, free: 50.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.7218, allocations: 67.34 kB / 0.5644 GB, free: 50.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004687/0.7223, allocations: 175.9 kB / 0.5646 GB, free: 50.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009277/0.7233, allocations: 0.8885 MB / 0.5655 GB, free: 49.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.7357, allocations: 7.596 MB / 0.5729 GB, free: 41.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04033/0.7761, allocations: 42.3 MB / 0.6142 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008402/0.7846, allocations: 3.769 MB / 0.6179 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.785, allocations: 324.2 kB / 0.6182 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.7851, allocations: 55.52 kB / 0.6182 GB, free: 9.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 4.128e-06/0.7851, allocations: 0 / 0.6182 GB, free: 9.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=189): time 0.04945/0.8346, allocations: 19.5 MB / 0.6373 GB, free: 6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.8347, allocations: 256.6 kB / 0.6375 GB, free: 5.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/0.8401, allocations: 3.488 MB / 0.6409 GB, free: 2.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003511/0.8404, allocations: 49.7 kB / 0.641 GB, free: 2.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1831/1.024, allocations: 2.833 MB / 0.6437 GB, free: 103.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009401/1.025, allocations: 0.7195 MB / 0.6444 GB, free: 103.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004581/1.025, allocations: 110.4 kB / 0.6445 GB, free: 103.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/1.025, allocations: 0.5353 MB / 0.6451 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/1.028, allocations: 2.079 MB / 0.6471 GB, free: 103.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/1.032, allocations: 5.322 MB / 0.6523 GB, free: 99.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/1.036, allocations: 3.275 MB / 0.6555 GB, free: 99.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.037, allocations: 33.16 kB / 0.6555 GB, free: 99.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01382/1.05, allocations: 8.417 MB / 0.6637 GB, free: 98.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/1.051, allocations: 55.69 kB / 0.6638 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/1.051, allocations: 114.5 kB / 0.6639 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/1.054, allocations: 1.386 MB / 0.6653 GB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/1.058, allocations: 1.225 MB / 0.6665 GB, free: 98.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.068, allocations: 8.721 MB / 0.675 GB, free: 94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/1.073, allocations: 314.8 kB / 0.6753 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.074, allocations: 332.9 kB / 0.6756 GB, free: 93.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 519 * Number of states: 0 () * Number of discrete variables: 30 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (653): * Single equations (assignments): 649 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004155/1.078, allocations: 1.943 MB / 0.6775 GB, free: 93.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/1.079, allocations: 351.3 kB / 0.6778 GB, free: 92.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007116/1.086, allocations: 3.925 MB / 0.6817 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/1.086, allocations: 21.58 kB / 0.6817 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/1.086, allocations: 12.66 kB / 0.6817 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/1.086, allocations: 6.562 kB / 0.6817 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/1.104, allocations: 8.926 MB / 0.6904 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.104, allocations: 0 / 0.6904 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.105, allocations: 260.8 kB / 0.6907 GB, free: 88.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/1.108, allocations: 1.217 MB / 0.6919 GB, free: 87.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/1.109, allocations: 30.61 kB / 0.6919 GB, free: 87.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00895/1.118, allocations: 7.865 MB / 0.6996 GB, free: 81.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.118, allocations: 11.89 kB / 0.6996 GB, free: 81.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008975/1.127, allocations: 6.813 MB / 0.7062 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/1.129, allocations: 0.6774 MB / 0.7069 GB, free: 74.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007693/1.129, allocations: 28 kB / 0.7069 GB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.131, allocations: 118.1 kB / 0.707 GB, free: 74.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/1.131, allocations: 114.3 kB / 0.7071 GB, free: 74.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.132, allocations: 44 kB / 0.7072 GB, free: 74.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003906/1.135, allocations: 2.47 MB / 0.7096 GB, free: 72.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.135, allocations: 0 / 0.7096 GB, free: 72.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004815/1.14, allocations: 1.001 MB / 0.7106 GB, free: 71.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (135): * Single equations (assignments): 131 * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004766/1.141, allocations: 170.8 kB / 0.7107 GB, free: 71.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00708/1.148, allocations: 5.195 MB / 0.7158 GB, free: 66.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.148, allocations: 0 / 0.7158 GB, free: 66.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00286/1.151, allocations: 1.982 MB / 0.7177 GB, free: 64.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.153, allocations: 449.5 kB / 0.7182 GB, free: 64.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.169, allocations: 10.55 MB / 0.7285 GB, free: 54.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/1.173, allocations: 3.175 MB / 0.7316 GB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004394/1.177, allocations: 1.829 MB / 0.7334 GB, free: 51.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009364/1.178, allocations: 234.5 kB / 0.7336 GB, free: 51.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.178, allocations: 0 / 0.7336 GB, free: 51.09 MB / 410.7 MB Notification: Performance of Templates: time 0.06768/1.246, allocations: 38.76 MB / 0.7714 GB, free: 12.71 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches