Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002786/0.002786, allocations: 176.9 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 96.95 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.214e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3445, allocations: 47.56 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.4974, allocations: 91.55 MB / 453.9 MB, free: 10.71 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4978, allocations: 94.28 kB / 454 MB, free: 10.62 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6248/1.123, allocations: 81.64 MB / 0.5231 GB, free: 96.07 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.385e-06/1.123, allocations: 0 / 0.5231 GB, free: 96.07 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003013/1.123, allocations: 76.5 kB / 0.5231 GB, free: 96.06 MB / 395.1 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.01586/1.139, allocations: 3.959 MB / 0.527 GB, free: 94.39 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.139, allocations: 8.062 kB / 0.527 GB, free: 94.39 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04644/1.185, allocations: 6.623 MB / 0.5335 GB, free: 94.11 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02082/1.206, allocations: 5.84 MB / 0.5392 GB, free: 92.91 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/1.206, allocations: 120.4 kB / 0.5393 GB, free: 92.91 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/1.208, allocations: 213.5 kB / 0.5395 GB, free: 92.9 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01745/1.226, allocations: 5.24 MB / 0.5446 GB, free: 91.11 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/1.246, allocations: 8.198 MB / 0.5526 GB, free: 86.53 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/1.246, allocations: 62.81 kB / 0.5527 GB, free: 86.49 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/1.248, allocations: 25.06 kB / 0.5527 GB, free: 86.49 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001771/1.249, allocations: 0.886 MB / 0.5536 GB, free: 85.99 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05634/1.306, allocations: 40.71 MB / 0.5933 GB, free: 44.61 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/1.311, allocations: 3.042 MB / 0.5963 GB, free: 41.42 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003177/1.314, allocations: 1.906 MB / 0.5982 GB, free: 39.51 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/1.315, allocations: 324.3 kB / 0.5985 GB, free: 39.14 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/1.315, allocations: 55.81 kB / 0.5985 GB, free: 39.08 MB / 395.1 MB Notification: Performance of pre-optimization done (n=160): time 5.921e-06/1.315, allocations: 0 / 0.5985 GB, free: 39.08 MB / 395.1 MB Notification: Performance of matching and sorting (n=189): time 0.05761/1.373, allocations: 16.82 MB / 0.6149 GB, free: 22.18 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/1.373, allocations: 248.6 kB / 0.6152 GB, free: 21.88 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006752/1.38, allocations: 3.037 MB / 0.6182 GB, free: 18.86 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005124/1.38, allocations: 25.7 kB / 0.6182 GB, free: 18.82 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.383, allocations: 2.815 MB / 0.6209 GB, free: 15.97 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.384, allocations: 0.7055 MB / 0.6216 GB, free: 15.26 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006512/1.384, allocations: 0 / 0.6216 GB, free: 15.26 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003643/1.385, allocations: 0.5542 MB / 0.6222 GB, free: 14.69 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004424/1.389, allocations: 1.971 MB / 0.6241 GB, free: 12.71 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006696/1.396, allocations: 5.325 MB / 0.6293 GB, free: 5.691 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006789/1.403, allocations: 3.212 MB / 0.6324 GB, free: 2.48 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/1.403, allocations: 32 kB / 0.6324 GB, free: 2.449 MB / 395.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02443/1.427, allocations: 7.614 MB / 0.6399 GB, free: 10.82 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.428, allocations: 56 kB / 0.6399 GB, free: 10.77 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002038/1.428, allocations: 120 kB / 0.6401 GB, free: 10.65 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007122/1.435, allocations: 1.375 MB / 0.6414 GB, free: 9.273 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008264/1.443, allocations: 1.263 MB / 0.6426 GB, free: 8.008 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/1.463, allocations: 7.859 MB / 0.6503 GB, free: 28 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.303/1.766, allocations: 210.2 kB / 0.6505 GB, free: 94.87 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.768, allocations: 344.8 kB / 0.6508 GB, free: 94.87 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 543 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (677): * Single equations (assignments): 673 * 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%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001103/1.769, allocations: 403.6 kB / 0.6512 GB, free: 94.76 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008498/1.77, allocations: 336.8 kB / 0.6515 GB, free: 94.76 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.781, allocations: 3.738 MB / 0.6552 GB, free: 94.66 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.934e-05/1.781, allocations: 20.72 kB / 0.6552 GB, free: 94.66 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/1.781, allocations: 11.22 kB / 0.6552 GB, free: 94.66 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/1.781, allocations: 9.422 kB / 0.6552 GB, free: 94.66 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/1.808, allocations: 8.165 MB / 0.6632 GB, free: 94.07 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/1.808, allocations: 2.812 kB / 0.6632 GB, free: 94.07 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.81, allocations: 260.9 kB / 0.6635 GB, free: 94.07 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006293/1.817, allocations: 1.193 MB / 0.6646 GB, free: 94.07 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004197/1.817, allocations: 4.969 kB / 0.6646 GB, free: 94.07 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/1.833, allocations: 7.038 MB / 0.6715 GB, free: 91.9 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.833, allocations: 2.766 kB / 0.6715 GB, free: 91.9 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.849, allocations: 6.594 MB / 0.6779 GB, free: 89.41 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/1.851, allocations: 0.6475 MB / 0.6786 GB, free: 89.14 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008394/1.852, allocations: 3.562 kB / 0.6786 GB, free: 89.14 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/1.855, allocations: 85.95 kB / 0.6787 GB, free: 89.14 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005938/1.856, allocations: 118.4 kB / 0.6788 GB, free: 89.12 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/1.856, allocations: 48.95 kB / 0.6788 GB, free: 89.11 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.004862/1.861, allocations: 2.059 MB / 0.6808 GB, free: 88.37 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.861, allocations: 0 / 0.6808 GB, free: 88.37 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.006888/1.868, allocations: 0.8601 MB / 0.6817 GB, free: 88.37 MB / 411.1 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 () * 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.0007539/1.868, allocations: 140.9 kB / 0.6818 GB, free: 88.28 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.88, allocations: 5.005 MB / 0.6867 GB, free: 86.69 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.88, allocations: 0 / 0.6867 GB, free: 86.69 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004875/1.885, allocations: 1.899 MB / 0.6885 GB, free: 85.92 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/1.889, allocations: 390.2 kB / 0.6889 GB, free: 85.76 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.909, allocations: 7.881 MB / 0.6966 GB, free: 82.9 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005853/1.915, allocations: 3.184 MB / 0.6997 GB, free: 81.67 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/1.917, allocations: 264 kB / 0.7 GB, free: 81.66 MB / 411.1 MB Notification: Performance of SimCode: time 9.92e-07/1.917, allocations: 2.812 kB / 0.7 GB, free: 81.66 MB / 411.1 MB Notification: Performance of Templates: time 0.129/2.046, allocations: 68.79 MB / 0.7672 GB, free: 24.75 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches