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.005093/0.005093, allocations: 113.9 kB / 21.97 MB, free: 5.227 MB / 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.001803/0.001803, allocations: 214.5 kB / 25.28 MB, free: 3.246 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.235/1.235, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="cs",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.001574/0.001574, allocations: 55.91 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2106, allocations: 49.16 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.008241/0.2188, allocations: 10.53 MB / 407.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006067/0.2249, allocations: 4.005 MB / 411.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006823/0.2256, allocations: 78.91 kB / 411.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003676/0.2292, allocations: 2.243 MB / 414 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.2327, allocations: 1.921 MB / 415.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.234, allocations: 0.7496 MB / 416.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005208/0.2392, allocations: 4.842 MB / 421.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.2417, allocations: 2.416 MB / 423.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.2436, allocations: 1.53 MB / 425.5 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.2461, allocations: 2.231 MB / 427.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004415/0.2465, allocations: 300 kB / 428 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.2483, allocations: 1.221 MB / 429.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.2499, allocations: 1.916 MB / 431.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.2518, allocations: 2.214 MB / 433.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.2582, allocations: 7.067 MB / 440.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2582, allocations: 3.938 kB / 440.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2582, allocations: 0 / 440.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.28e-05/0.2583, allocations: 0 / 440.4 MB, free: 7.91 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.01021/0.2685, allocations: 4.998 MB / 445.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2686, allocations: 15.98 kB / 445.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.231e-05/0.2687, allocations: 93.28 kB / 445.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006677/0.2693, allocations: 0.6245 MB / 446.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1621/0.4315, allocations: 12.31 MB / 458.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008163/0.4396, allocations: 4.178 MB / 462.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.4398, allocations: 201 kB / 462.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/0.4402, allocations: 275.7 kB / 463.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.4536, allocations: 8.73 MB / 471.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.4538, allocations: 43.66 kB / 471.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005179/0.4543, allocations: 127.9 kB / 472 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004817/0.4591, allocations: 1.774 MB / 473.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.4774, allocations: 7.526 MB / 481.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03802/0.5154, allocations: 35.35 MB / 0.5045 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006868/0.5223, allocations: 3.099 MB / 0.5076 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.5245, allocations: 1.908 MB / 0.5094 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.5248, allocations: 97.05 kB / 0.5095 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.5248, allocations: 47.56 kB / 0.5096 GB, free: 4.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 3.246e-06/0.5248, allocations: 0 / 0.5096 GB, free: 4.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.04846/0.5733, allocations: 20.13 MB / 0.5292 GB, free: 416 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.5734, allocations: 260.6 kB / 0.5295 GB, free: 96 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004541/0.5779, allocations: 3.984 MB / 0.5334 GB, free: 12.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.5781, allocations: 53.7 kB / 0.5334 GB, free: 12.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.5801, allocations: 2.928 MB / 0.5363 GB, free: 9.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006353/0.5807, allocations: 0.7558 MB / 0.537 GB, free: 8.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.5821, allocations: 1.111 MB / 0.5381 GB, free: 7.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5822, allocations: 305.3 kB / 0.5384 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/0.585, allocations: 2.17 MB / 0.5405 GB, free: 4.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005115/0.5901, allocations: 5.406 MB / 0.5458 GB, free: 13.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008797/0.5989, allocations: 8.191 MB / 0.5538 GB, free: 3.906 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.69e-05/0.599, allocations: 32 kB / 0.5538 GB, free: 3.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.1585/0.7575, allocations: 8.639 MB / 0.5622 GB, free: 141.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.7575, allocations: 53.53 kB / 0.5623 GB, free: 141.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.7576, allocations: 113.3 kB / 0.5624 GB, free: 141.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003718/0.7614, allocations: 1.498 MB / 0.5639 GB, free: 141.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/0.7645, allocations: 1.231 MB / 0.5651 GB, free: 141.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.7753, allocations: 9.838 MB / 0.5747 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.7787, allocations: 321.8 kB / 0.575 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/0.7791, allocations: 333.5 kB / 0.5753 GB, free: 137.1 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.001963/0.7811, allocations: 1.939 MB / 0.5772 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.7815, allocations: 380.5 kB / 0.5776 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005848/0.7874, allocations: 4.126 MB / 0.5816 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.7874, allocations: 30 kB / 0.5816 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.7874, allocations: 7.75 kB / 0.5816 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7874, allocations: 7.688 kB / 0.5816 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.7982, allocations: 9.227 MB / 0.5906 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7982, allocations: 0 / 0.5906 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.7992, allocations: 267.6 kB / 0.5909 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/0.8023, allocations: 1.349 MB / 0.5922 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.8024, allocations: 32 kB / 0.5922 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008458/0.8108, allocations: 8.854 MB / 0.6009 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8108, allocations: 4 kB / 0.6009 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007829/0.8187, allocations: 7.044 MB / 0.6078 GB, free: 112.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.8199, allocations: 0.6387 MB / 0.6084 GB, free: 112.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.8203, allocations: 32 kB / 0.6084 GB, free: 112.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.8216, allocations: 115.8 kB / 0.6085 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.8219, allocations: 115 kB / 0.6086 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.822, allocations: 58.36 kB / 0.6087 GB, free: 111.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002468/0.8245, allocations: 2.529 MB / 0.6112 GB, free: 109.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8245, allocations: 0 / 0.6112 GB, free: 109.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003237/0.8277, allocations: 1.012 MB / 0.6122 GB, free: 108.3 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.007872/0.8356, allocations: 7.68 MB / 0.6197 GB, free: 100.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005323/0.8409, allocations: 5.157 MB / 0.6247 GB, free: 95.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8409, allocations: 4.984 kB / 0.6247 GB, free: 95.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.8431, allocations: 1.928 MB / 0.6266 GB, free: 93.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.845, allocations: 499.5 kB / 0.6271 GB, free: 92.99 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05952/0.9046, allocations: 46.01 MB / 0.672 GB, free: 42.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/0.907, allocations: 3.105 MB / 0.675 GB, free: 38.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002899/0.9099, allocations: 1.816 MB / 0.6768 GB, free: 37.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.9114, allocations: 1.761 MB / 0.6785 GB, free: 35.31 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.9114, allocations: 0 / 0.6785 GB, free: 35.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.275/2.187, allocations: 80.07 MB / 0.7567 GB, free: 166.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.68/25.87, allocations: 2.75 kB / 0.7567 GB, free: 166.5 MB / 0.4981 GB " [Timeout remaining time 634] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.89370010298444]