Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.001263/0.001263, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001326/0.001326, allocations: 214.9 kB / 24.51 MB, free: 3.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.348/1.348, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 44.02 kB / 378.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 53.37 MB / 431.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01252/0.2579, allocations: 10.29 MB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00778/0.2657, allocations: 4.141 MB / 446.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.2671, allocations: 95.44 kB / 446.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005277/0.2724, allocations: 2.807 MB / 449.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004405/0.2768, allocations: 1.988 MB / 451.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.279, allocations: 1.037 MB / 452.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007218/0.2862, allocations: 5.611 MB / 457.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004196/0.2904, allocations: 3.066 MB / 460.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.2932, allocations: 1.741 MB / 462.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.2967, allocations: 2.473 MB / 465.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008659/0.2976, allocations: 364 kB / 465.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.2999, allocations: 1.147 MB / 466.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002254/0.3021, allocations: 2.142 MB / 468.8 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002677/0.3048, allocations: 1.88 MB / 470.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008205/0.313, allocations: 7.946 MB / 478.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.313, allocations: 0 / 478.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.313, allocations: 0 / 478.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001917/0.3132, allocations: 7.984 kB / 478.6 MB, free: 7.875 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01248/0.3257, allocations: 5.496 MB / 484.1 MB, free: 2.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3257, allocations: 12.03 kB / 484.1 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000107/0.3258, allocations: 106.4 kB / 484.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008424/0.3267, allocations: 0.7032 MB / 484.9 MB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1424/0.469, allocations: 12.38 MB / 497.3 MB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009509/0.4785, allocations: 3.883 MB / 0.4894 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.4787, allocations: 238.1 kB / 0.4896 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.4798, allocations: 331.8 kB / 0.49 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.496, allocations: 9.819 MB / 0.4996 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.4961, allocations: 51.66 kB / 0.4996 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003905/0.4965, allocations: 151.9 kB / 0.4997 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003183/0.4997, allocations: 1.896 MB / 0.5016 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.5139, allocations: 8.245 MB / 0.5097 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2406/0.7545, allocations: 35.73 MB / 0.5445 GB, free: 78.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007124/0.7616, allocations: 3.243 MB / 0.5477 GB, free: 77.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.7635, allocations: 1.92 MB / 0.5496 GB, free: 77.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.7639, allocations: 200.8 kB / 0.5498 GB, free: 77.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.7639, allocations: 54.95 kB / 0.5498 GB, free: 77.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.359e-06/0.7639, allocations: 0 / 0.5498 GB, free: 77.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04826/0.8122, allocations: 20.97 MB / 0.5703 GB, free: 63.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.8122, allocations: 260.1 kB / 0.5706 GB, free: 63.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.8166, allocations: 4.175 MB / 0.5746 GB, free: 59.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003785/0.817, allocations: 58.8 kB / 0.5747 GB, free: 59.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.8183, allocations: 3.235 MB / 0.5779 GB, free: 56.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006555/0.8189, allocations: 0.7971 MB / 0.5786 GB, free: 55.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.8201, allocations: 1.191 MB / 0.5798 GB, free: 54.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.8202, allocations: 309.1 kB / 0.5801 GB, free: 54.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.8226, allocations: 2.268 MB / 0.5823 GB, free: 51.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/0.8261, allocations: 5.844 MB / 0.588 GB, free: 44.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006826/0.8329, allocations: 8.678 MB / 0.5965 GB, free: 34.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-05/0.833, allocations: 36 kB / 0.5965 GB, free: 34.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.015/0.848, allocations: 9.539 MB / 0.6058 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.8481, allocations: 60.06 kB / 0.6059 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/0.8483, allocations: 123.9 kB / 0.606 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/0.8538, allocations: 2.077 MB / 0.608 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/0.8573, allocations: 1.252 MB / 0.6093 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.8746, allocations: 16.77 MB / 0.6256 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/0.8789, allocations: 343.5 kB / 0.626 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009028/0.8798, allocations: 351.6 kB / 0.6263 GB, free: 3.285 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (671): * Single equations (assignments): 665 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,36,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003316/0.8831, allocations: 2.132 MB / 0.6284 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008498/0.884, allocations: 400.5 kB / 0.6288 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008265/0.8922, allocations: 4.27 MB / 0.6329 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/0.8923, allocations: 20 kB / 0.633 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.8923, allocations: 8 kB / 0.633 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/0.8923, allocations: 11.97 kB / 0.633 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.9107, allocations: 9.434 MB / 0.6422 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.9107, allocations: 3.938 kB / 0.6422 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.912, allocations: 283.6 kB / 0.6425 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003871/0.9159, allocations: 1.355 MB / 0.6438 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/0.916, allocations: 28 kB / 0.6438 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.9287, allocations: 8.786 MB / 0.6524 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9287, allocations: 4 kB / 0.6524 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.94, allocations: 7.259 MB / 0.6595 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008742/0.9409, allocations: 361.3 kB / 0.6598 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006109/0.9415, allocations: 32 kB / 0.6599 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.9431, allocations: 123.8 kB / 0.66 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.9435, allocations: 129 kB / 0.6601 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.9436, allocations: 51.83 kB / 0.6601 GB, free: 448 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004032/0.9477, allocations: 2.637 MB / 0.6627 GB, free: 13.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9477, allocations: 0 / 0.6627 GB, free: 13.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004232/0.9519, allocations: 1.098 MB / 0.6638 GB, free: 12.7 MB / 494.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 (147): * Single equations (assignments): 143 * 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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01156/0.9634, allocations: 7.9 MB / 0.6715 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008774/0.9722, allocations: 5.813 MB / 0.6772 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9722, allocations: 4 kB / 0.6772 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.9758, allocations: 2.061 MB / 0.6792 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/0.9789, allocations: 0.6001 MB / 0.6798 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07696/1.056, allocations: 49.86 MB / 0.7285 GB, free: 4.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005476/1.061, allocations: 2.855 MB / 0.7313 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00479/1.066, allocations: 1.888 MB / 0.7331 GB, free: 184 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/1.07, allocations: 1.979 MB / 0.735 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.07, allocations: 0 / 0.735 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.177/2.246, allocations: 86.89 MB / 0.8199 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.18/28.43, allocations: 8 kB / 0.8199 GB, free: 157.1 MB / 0.5606 GB " [Timeout remaining time 631] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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: 32.647247637971304]