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.000894/0.000894, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009951/0.0009951, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8833/0.8833, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 3.984 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.164e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008092/0.008114, allocations: 10.34 MB / 334.9 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005949/0.01406, allocations: 4.176 MB / 339.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.0151, allocations: 99.44 kB / 339.2 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.01797, allocations: 2.943 MB / 342.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.02083, allocations: 2.045 MB / 344.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.02212, allocations: 1.13 MB / 345.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00445/0.02656, allocations: 6.339 MB / 351.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.02935, allocations: 3.58 MB / 355.2 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.03179, allocations: 2.643 MB / 357.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.03393, allocations: 2.564 MB / 360.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004575/0.03438, allocations: 372 kB / 360.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.03563, allocations: 1.205 MB / 362 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.03685, allocations: 2.244 MB / 364.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.038, allocations: 1.515 MB / 365.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.04374, allocations: 8.022 MB / 373.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.04375, allocations: 0 / 373.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04375, allocations: 0 / 373.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001192/0.04387, allocations: 0 / 373.8 MB, free: 14.51 MB / 346.7 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.00824/0.05211, allocations: 5.586 MB / 379.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.05215, allocations: 8.031 kB / 379.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000651/0.0528, allocations: 0.7149 MB / 380.1 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07469/0.1275, allocations: 12.79 MB / 392.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005881/0.1334, allocations: 3.551 MB / 396.4 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1335, allocations: 242.2 kB / 396.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007927/0.1343, allocations: 319.8 kB / 397 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009831/0.1441, allocations: 9.823 MB / 406.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-05/0.1442, allocations: 55.58 kB / 406.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.1445, allocations: 151.9 kB / 407 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/0.1464, allocations: 1.9 MB / 408.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009438/0.1559, allocations: 8.214 MB / 417.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1594/0.3152, allocations: 36.14 MB / 453.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.3199, allocations: 3.332 MB / 456.6 MB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3212, allocations: 1.928 MB / 458.5 MB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.3215, allocations: 199 kB / 458.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3216, allocations: 58.27 kB / 458.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 3.948e-06/0.3216, allocations: 0 / 458.8 MB, free: 106.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.02949/0.351, allocations: 21.63 MB / 480.4 MB, free: 92.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.3511, allocations: 255.8 kB / 480.7 MB, free: 92.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.3545, allocations: 4.744 MB / 485.4 MB, free: 87.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.3547, allocations: 59.45 kB / 485.5 MB, free: 87.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009102/0.3556, allocations: 3.208 MB / 488.7 MB, free: 84.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.3561, allocations: 0.7846 MB / 489.5 MB, free: 83.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008773/0.357, allocations: 1.179 MB / 490.6 MB, free: 82.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.677e-05/0.357, allocations: 301.1 kB / 490.9 MB, free: 81.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.3587, allocations: 2.272 MB / 493.2 MB, free: 79.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.3612, allocations: 5.846 MB / 499 MB, free: 72.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004884/0.3661, allocations: 8.682 MB / 0.4958 GB, free: 61.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-05/0.3661, allocations: 39.25 kB / 0.4959 GB, free: 61.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.008946/0.3751, allocations: 9.529 MB / 0.5052 GB, free: 52.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.3751, allocations: 56 kB / 0.5052 GB, free: 52.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/0.3752, allocations: 124.9 kB / 0.5053 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/0.3782, allocations: 2.078 MB / 0.5074 GB, free: 49.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.3801, allocations: 1.248 MB / 0.5086 GB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.392, allocations: 16.92 MB / 0.5251 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.3948, allocations: 395.5 kB / 0.5255 GB, free: 31.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/0.395, allocations: 355.7 kB / 0.5258 GB, free: 30.66 MB / 410.7 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.00192/0.397, allocations: 2.137 MB / 0.5279 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.3973, allocations: 393.4 kB / 0.5283 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.4014, allocations: 4.262 MB / 0.5325 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.4014, allocations: 24 kB / 0.5325 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4014, allocations: 8 kB / 0.5325 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4014, allocations: 15.95 kB / 0.5325 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/0.411, allocations: 9.59 MB / 0.5419 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.411, allocations: 0 / 0.5419 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/0.4117, allocations: 287.5 kB / 0.5421 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.4136, allocations: 1.347 MB / 0.5435 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-05/0.4137, allocations: 32 kB / 0.5435 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006879/0.4206, allocations: 8.867 MB / 0.5521 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4206, allocations: 0 / 0.5521 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00724/0.4278, allocations: 7.246 MB / 0.5592 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008158/0.4286, allocations: 429.7 kB / 0.5596 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.4289, allocations: 28 kB / 0.5597 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.4299, allocations: 183.7 kB / 0.5598 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.4302, allocations: 132.9 kB / 0.56 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/0.4303, allocations: 51.52 kB / 0.56 GB, free: 11.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002944/0.4332, allocations: 2.921 MB / 0.5629 GB, free: 8.547 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4332, allocations: 4 kB / 0.5629 GB, free: 8.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003344/0.4366, allocations: 1.289 MB / 0.5641 GB, free: 7.254 MB / 426.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 (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.007937/0.4445, allocations: 7.911 MB / 0.5719 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006701/0.4512, allocations: 5.808 MB / 0.5775 GB, free: 9.488 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4512, allocations: 0 / 0.5775 GB, free: 9.488 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.4535, allocations: 2.077 MB / 0.5796 GB, free: 7.406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.4561, allocations: 0.584 MB / 0.5801 GB, free: 6.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1916/0.6478, allocations: 50.92 MB / 0.6299 GB, free: 152.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/0.65, allocations: 2.854 MB / 0.6326 GB, free: 152 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002555/0.6525, allocations: 1.892 MB / 0.6345 GB, free: 151.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.654, allocations: 1.993 MB / 0.6364 GB, free: 150.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.764e-06/0.654, allocations: 0 / 0.6364 GB, free: 150.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08887/0.7429, allocations: 87.4 MB / 0.7218 GB, free: 65.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.29, allocations: 4.062 kB / 0.7218 GB, free: 65.51 MB / 474.7 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.380618252791464]