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.00213/0.002134, allocations: 186.2 kB / 16.4 MB, free: 5.715 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.955/1.955, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001115/0.001114, allocations: 96.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005326, allocations: 12 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.335, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.4841, allocations: 92.31 MB / 466.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.4845, allocations: 91.95 kB / 466.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5985/1.083, allocations: 83.07 MB / 0.5371 GB, free: 78.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.083, allocations: 4 kB / 0.5371 GB, free: 78.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002496/1.083, allocations: 75.94 kB / 0.5372 GB, free: 78.2 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.01636/1.1, allocations: 4.348 MB / 0.5414 GB, free: 73.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.1, allocations: 12.03 kB / 0.5414 GB, free: 73.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04642/1.146, allocations: 6.609 MB / 0.5479 GB, free: 67.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/1.166, allocations: 5.878 MB / 0.5536 GB, free: 61.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/1.166, allocations: 271 kB / 0.5539 GB, free: 60.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/1.168, allocations: 355.8 kB / 0.5542 GB, free: 60.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/1.19, allocations: 9.102 MB / 0.5631 GB, free: 50.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/1.191, allocations: 67.36 kB / 0.5632 GB, free: 50.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009677/1.192, allocations: 171.9 kB / 0.5634 GB, free: 50.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/1.193, allocations: 0.8885 MB / 0.5642 GB, free: 49.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/1.214, allocations: 7.599 MB / 0.5716 GB, free: 41.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0582/1.273, allocations: 42.3 MB / 0.613 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/1.287, allocations: 3.754 MB / 0.6166 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/1.288, allocations: 328.2 kB / 0.6169 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/1.288, allocations: 51.52 kB / 0.617 GB, free: 9.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 6.011e-06/1.288, allocations: 4 kB / 0.617 GB, free: 9.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=189): time 0.0913/1.38, allocations: 19.5 MB / 0.636 GB, free: 6.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/1.38, allocations: 252.6 kB / 0.6363 GB, free: 5.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009045/1.389, allocations: 3.484 MB / 0.6397 GB, free: 2.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005203/1.389, allocations: 53.7 kB / 0.6397 GB, free: 2.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2882/1.678, allocations: 2.733 MB / 0.6424 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.679, allocations: 0.7168 MB / 0.6431 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006906/1.679, allocations: 110.3 kB / 0.6432 GB, free: 103.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003453/1.68, allocations: 0.5408 MB / 0.6437 GB, free: 102.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004635/1.684, allocations: 2.078 MB / 0.6458 GB, free: 102.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007403/1.692, allocations: 5.321 MB / 0.651 GB, free: 98.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008504/1.7, allocations: 3.271 MB / 0.6541 GB, free: 98.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001936/1.701, allocations: 32.75 kB / 0.6542 GB, free: 98.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02529/1.726, allocations: 8.288 MB / 0.6623 GB, free: 97.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.726, allocations: 52.25 kB / 0.6623 GB, free: 97.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.726, allocations: 114.8 kB / 0.6624 GB, free: 97.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006686/1.733, allocations: 1.389 MB / 0.6638 GB, free: 97.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007543/1.741, allocations: 1.226 MB / 0.665 GB, free: 97.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/1.759, allocations: 8.72 MB / 0.6735 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006196/1.765, allocations: 307.5 kB / 0.6738 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.767, allocations: 334.5 kB / 0.6741 GB, free: 93.37 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.004711/1.771, allocations: 1.948 MB / 0.676 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008935/1.772, allocations: 352.2 kB / 0.6764 GB, free: 92.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.784, allocations: 3.919 MB / 0.6802 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/1.784, allocations: 21.31 kB / 0.6802 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/1.785, allocations: 7.688 kB / 0.6802 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/1.785, allocations: 9.891 kB / 0.6802 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.81, allocations: 8.927 MB / 0.6889 GB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/1.81, allocations: 0 / 0.6889 GB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.813, allocations: 262.1 kB / 0.6892 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/1.819, allocations: 1.212 MB / 0.6904 GB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004511/1.819, allocations: 31.16 kB / 0.6904 GB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/1.839, allocations: 7.863 MB / 0.6981 GB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.839, allocations: 10.89 kB / 0.6981 GB, free: 80.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/1.858, allocations: 6.809 MB / 0.7047 GB, free: 74.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/1.86, allocations: 0.6783 MB / 0.7054 GB, free: 74.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009815/1.861, allocations: 37.64 kB / 0.7054 GB, free: 74.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.864, allocations: 108.5 kB / 0.7055 GB, free: 74.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005712/1.864, allocations: 111.9 kB / 0.7056 GB, free: 73.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/1.865, allocations: 52.3 kB / 0.7057 GB, free: 73.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00579/1.87, allocations: 2.471 MB / 0.7081 GB, free: 71.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.653e-06/1.87, allocations: 0 / 0.7081 GB, free: 71.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006452/1.877, allocations: 1.001 MB / 0.7091 GB, free: 70.89 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.0006743/1.878, allocations: 182.2 kB / 0.7093 GB, free: 70.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0112/1.889, allocations: 5.177 MB / 0.7143 GB, free: 66.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.889, allocations: 4 kB / 0.7143 GB, free: 66.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005029/1.894, allocations: 1.982 MB / 0.7163 GB, free: 64.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.898, allocations: 444.5 kB / 0.7167 GB, free: 64.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.921, allocations: 11 MB / 0.7274 GB, free: 54.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006012/1.927, allocations: 3.186 MB / 0.7305 GB, free: 51.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.929, allocations: 277.3 kB / 0.7308 GB, free: 51.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.153e-06/1.929, allocations: 0 / 0.7308 GB, free: 51.38 MB / 410.7 MB Notification: Performance of Templates: time 0.5066/2.435, allocations: 70.6 MB / 0.7997 GB, free: 107.1 MB / 426.7 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