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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 55.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.008806/0.2646, allocations: 9.183 MB / 405.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.2712, allocations: 3.785 MB / 409.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008799/0.2721, allocations: 76.5 kB / 409.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003919/0.276, allocations: 2.162 MB / 411.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004143/0.2801, allocations: 1.925 MB / 413.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.2817, allocations: 0.7474 MB / 414.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005991/0.2877, allocations: 4.838 MB / 419.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.2909, allocations: 2.41 MB / 421.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.2933, allocations: 1.514 MB / 423 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003267/0.2966, allocations: 2.126 MB / 425.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005792/0.2972, allocations: 300 kB / 425.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.2993, allocations: 1.096 MB / 426.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.3013, allocations: 1.92 MB / 428.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.3034, allocations: 1.678 MB / 430.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.3117, allocations: 7.086 MB / 437.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.3117, allocations: 4 kB / 437.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3117, allocations: 0 / 437.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001639/0.3119, allocations: 0 / 437.2 MB, free: 10.15 MB / 350.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.01332/0.3252, allocations: 5.006 MB / 442.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3253, allocations: 11.98 kB / 442.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008932/0.3262, allocations: 0.6206 MB / 442.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1683/0.4945, allocations: 12.3 MB / 455.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.5047, allocations: 4.19 MB / 459.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.5049, allocations: 197 kB / 459.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006299/0.5055, allocations: 271.8 kB / 459.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.5206, allocations: 8.842 MB / 468.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.5208, allocations: 55.58 kB / 468.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.5212, allocations: 127.9 kB / 468.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/0.5245, allocations: 1.774 MB / 470.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.5388, allocations: 7.495 MB / 478.1 MB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04532/0.5841, allocations: 33.63 MB / 0.4997 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/0.5925, allocations: 3.108 MB / 0.5027 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/0.5955, allocations: 1.896 MB / 0.5046 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.5959, allocations: 92.88 kB / 0.5047 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.5959, allocations: 55.5 kB / 0.5047 GB, free: 8.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 4.428e-06/0.5959, allocations: 4 kB / 0.5047 GB, free: 8.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.05714/0.6531, allocations: 20.22 MB / 0.5245 GB, free: 4.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.6532, allocations: 248.6 kB / 0.5247 GB, free: 4.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006201/0.6594, allocations: 4.177 MB / 0.5288 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.6598, allocations: 53.7 kB / 0.5289 GB, free: 15.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.6624, allocations: 2.928 MB / 0.5317 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.6634, allocations: 0.7481 MB / 0.5324 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/0.665, allocations: 1.115 MB / 0.5335 GB, free: 10.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6651, allocations: 301.1 kB / 0.5338 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.6686, allocations: 2.166 MB / 0.5359 GB, free: 8.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006519/0.6751, allocations: 5.507 MB / 0.5413 GB, free: 1.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.6859, allocations: 8.188 MB / 0.5493 GB, free: 7.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.703e-05/0.686, allocations: 32 kB / 0.5493 GB, free: 7.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.1929/0.8789, allocations: 8.648 MB / 0.5578 GB, free: 139.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.879, allocations: 54.83 kB / 0.5578 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.8791, allocations: 112 kB / 0.5579 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004339/0.8834, allocations: 1.5 MB / 0.5594 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/0.8873, allocations: 1.222 MB / 0.5606 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.9001, allocations: 9.738 MB / 0.5701 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/0.9041, allocations: 319.2 kB / 0.5704 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005271/0.9046, allocations: 330.5 kB / 0.5707 GB, free: 135.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * 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 (650): * Single equations (assignments): 646 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002495/0.9071, allocations: 1.946 MB / 0.5726 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005814/0.9077, allocations: 374 kB / 0.573 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006846/0.9146, allocations: 4.131 MB / 0.577 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.9146, allocations: 27.38 kB / 0.5771 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.9146, allocations: 11.38 kB / 0.5771 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.9146, allocations: 11.34 kB / 0.5771 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.9282, allocations: 8.796 MB / 0.5857 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9282, allocations: 3.656 kB / 0.5857 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.9294, allocations: 265.5 kB / 0.5859 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/0.9328, allocations: 1.347 MB / 0.5872 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.933, allocations: 27.72 kB / 0.5873 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009762/0.9427, allocations: 8.749 MB / 0.5958 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9427, allocations: 7.344 kB / 0.5958 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009259/0.952, allocations: 7.035 MB / 0.6027 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/0.954, allocations: 0.6483 MB / 0.6033 GB, free: 115.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/0.9545, allocations: 28 kB / 0.6033 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.956, allocations: 119.7 kB / 0.6035 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/0.9563, allocations: 125 kB / 0.6036 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.9565, allocations: 44 kB / 0.6036 GB, free: 115.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003008/0.9595, allocations: 2.532 MB / 0.6061 GB, free: 113 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9595, allocations: 0 / 0.6061 GB, free: 113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004157/0.9636, allocations: 1.014 MB / 0.6071 GB, free: 112 MB / 478.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 132 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,31,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009164/0.9728, allocations: 7.684 MB / 0.6146 GB, free: 104.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006679/0.9795, allocations: 5.14 MB / 0.6196 GB, free: 99.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.9795, allocations: 4 kB / 0.6196 GB, free: 99.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002682/0.9822, allocations: 1.942 MB / 0.6215 GB, free: 97.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.9848, allocations: 0.4936 MB / 0.622 GB, free: 96.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04985/1.035, allocations: 45.99 MB / 0.6669 GB, free: 45.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.037, allocations: 2.552 MB / 0.6694 GB, free: 43.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003702/1.041, allocations: 1.827 MB / 0.6712 GB, free: 41.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/1.043, allocations: 1.753 MB / 0.6729 GB, free: 39.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/1.043, allocations: 0 / 0.6729 GB, free: 39.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3098/1.353, allocations: 76.36 MB / 0.7475 GB, free: 167.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/18.21, allocations: 15.05 kB / 0.7475 GB, free: 167.6 MB / 0.4981 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.29684682795778]