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.001039/0.001039, allocations: 178.9 kB / 18.04 MB, free: 3.66 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.346/1.346, allocations: 205.4 MB / 224.2 MB, free: 9.008 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.0007695/0.0007695, allocations: 78.38 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 16 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3137, allocations: 92.44 MB / 469.5 MB, free: 4.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.314, allocations: 99.94 kB / 469.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3546/0.6686, allocations: 81.64 MB / 0.5383 GB, free: 79.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.6686, allocations: 0 / 0.5383 GB, free: 79.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002184/0.6688, allocations: 72 kB / 0.5384 GB, free: 79.11 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.009954/0.6788, allocations: 4.2 MB / 0.5425 GB, free: 74.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6788, allocations: 8.031 kB / 0.5425 GB, free: 74.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/0.697, allocations: 4.964 MB / 0.5473 GB, free: 69.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009054/0.7061, allocations: 4.711 MB / 0.5519 GB, free: 65.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.7063, allocations: 271.4 kB / 0.5522 GB, free: 64.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.7077, allocations: 360.1 kB / 0.5525 GB, free: 64.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.7228, allocations: 9.048 MB / 0.5614 GB, free: 54.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.7231, allocations: 59.66 kB / 0.5614 GB, free: 54.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009935/0.7241, allocations: 179.8 kB / 0.5616 GB, free: 54.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001025/0.7251, allocations: 0.8962 MB / 0.5625 GB, free: 53.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.7369, allocations: 7.51 MB / 0.5698 GB, free: 45.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03551/0.7724, allocations: 42.28 MB / 0.6111 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007456/0.7799, allocations: 3.684 MB / 0.6147 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.7824, allocations: 1.963 MB / 0.6166 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.7828, allocations: 324.2 kB / 0.6169 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.7829, allocations: 55.48 kB / 0.617 GB, free: 11.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 3.958e-06/0.7829, allocations: 0 / 0.617 GB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=189): time 0.04554/0.8284, allocations: 18.86 MB / 0.6354 GB, free: 8.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.8286, allocations: 252.6 kB / 0.6356 GB, free: 8.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005431/0.834, allocations: 3.909 MB / 0.6394 GB, free: 4.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002849/0.8343, allocations: 53.7 kB / 0.6395 GB, free: 4.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.8363, allocations: 2.85 MB / 0.6423 GB, free: 1.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000747/0.837, allocations: 0.7094 MB / 0.643 GB, free: 1.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.8373, allocations: 116 kB / 0.6431 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003418/0.8376, allocations: 0.5373 MB / 0.6436 GB, free: 408 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1626/1, allocations: 2.083 MB / 0.6456 GB, free: 103.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004517/1.005, allocations: 5.338 MB / 0.6509 GB, free: 99.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008267/1.013, allocations: 8.068 MB / 0.6587 GB, free: 95.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-05/1.013, allocations: 32.44 kB / 0.6588 GB, free: 95.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01465/1.028, allocations: 8.418 MB / 0.667 GB, free: 94.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/1.028, allocations: 55.75 kB / 0.667 GB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.072e-05/1.028, allocations: 112.8 kB / 0.6671 GB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/1.031, allocations: 1.371 MB / 0.6685 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003546/1.035, allocations: 1.224 MB / 0.6697 GB, free: 93.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009369/1.044, allocations: 8.429 MB / 0.6779 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/1.048, allocations: 313.5 kB / 0.6782 GB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/1.048, allocations: 334.6 kB / 0.6785 GB, free: 89.7 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.002611/1.051, allocations: 1.94 MB / 0.6804 GB, free: 88.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/1.052, allocations: 356.2 kB / 0.6808 GB, free: 88.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006318/1.058, allocations: 3.924 MB / 0.6846 GB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/1.058, allocations: 20.53 kB / 0.6846 GB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.058, allocations: 6.938 kB / 0.6846 GB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.058, allocations: 15.42 kB / 0.6846 GB, free: 87.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.071, allocations: 8.918 MB / 0.6933 GB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.071, allocations: 0 / 0.6933 GB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.073, allocations: 259.7 kB / 0.6936 GB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002963/1.076, allocations: 1.217 MB / 0.6948 GB, free: 83.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/1.076, allocations: 28.55 kB / 0.6948 GB, free: 83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008329/1.084, allocations: 7.574 MB / 0.7022 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.084, allocations: 2.344 kB / 0.7022 GB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008701/1.093, allocations: 6.691 MB / 0.7087 GB, free: 70.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/1.094, allocations: 0.675 MB / 0.7094 GB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/1.095, allocations: 36.95 kB / 0.7094 GB, free: 70.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.096, allocations: 113.3 kB / 0.7095 GB, free: 70.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/1.096, allocations: 112.3 kB / 0.7096 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.096, allocations: 52.36 kB / 0.7097 GB, free: 69.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003277/1.1, allocations: 2.471 MB / 0.7121 GB, free: 67.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.1, allocations: 0 / 0.7121 GB, free: 67.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004308/1.104, allocations: 0.9952 MB / 0.7131 GB, free: 66.94 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.000423/1.104, allocations: 173.1 kB / 0.7132 GB, free: 66.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006543/1.111, allocations: 5.183 MB / 0.7183 GB, free: 62.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/1.111, allocations: 0 / 0.7183 GB, free: 62.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002668/1.114, allocations: 1.987 MB / 0.7203 GB, free: 60.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/1.118, allocations: 477 kB / 0.7207 GB, free: 60.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/1.134, allocations: 10.59 MB / 0.731 GB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00438/1.138, allocations: 3.098 MB / 0.7341 GB, free: 48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004575/1.143, allocations: 1.825 MB / 0.7359 GB, free: 46.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000824/1.144, allocations: 235.4 kB / 0.7361 GB, free: 46.57 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/1.144, allocations: 0 / 0.7361 GB, free: 46.57 MB / 410.7 MB Notification: Performance of Templates: time 0.06248/1.206, allocations: 38.89 MB / 0.7741 GB, free: 8.039 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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches