Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.02824/0.02824, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.02598/0.02598, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 10.28/10.28, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 169] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 59.89 kB / 378.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.283, allocations: 53.41 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0128/0.2958, allocations: 10.28 MB / 442.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008904/0.3047, allocations: 4.141 MB / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.3067, allocations: 99.44 kB / 446.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005339/0.312, allocations: 2.803 MB / 449.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.3171, allocations: 1.988 MB / 451.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.3194, allocations: 1.037 MB / 452.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007958/0.3274, allocations: 5.604 MB / 457.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004027/0.3314, allocations: 3.074 MB / 460.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.3343, allocations: 1.733 MB / 462.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.3381, allocations: 2.477 MB / 465.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008332/0.339, allocations: 364 kB / 465.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.3413, allocations: 1.151 MB / 466.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.3435, allocations: 2.139 MB / 468.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.3464, allocations: 1.888 MB / 470.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009366/0.3557, allocations: 7.943 MB / 478.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3557, allocations: 0 / 478.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3557, allocations: 0 / 478.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000218/0.3559, allocations: 0 / 478.6 MB, free: 7.535 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.01376/0.3697, allocations: 5.5 MB / 484.1 MB, free: 1.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3697, allocations: 8.031 kB / 484.1 MB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000152/0.3699, allocations: 102.4 kB / 484.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/0.371, allocations: 0.7149 MB / 484.9 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1539/0.525, allocations: 12.38 MB / 497.3 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.537, allocations: 3.898 MB / 0.4895 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.5373, allocations: 234.1 kB / 0.4897 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/0.5386, allocations: 319.8 kB / 0.49 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.5589, allocations: 9.819 MB / 0.4996 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.5591, allocations: 55.58 kB / 0.4996 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004682/0.5596, allocations: 151.9 kB / 0.4998 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003735/0.5633, allocations: 1.904 MB / 0.5017 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.5808, allocations: 8.222 MB / 0.5097 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3109/0.8917, allocations: 35.74 MB / 0.5446 GB, free: 77.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007244/0.899, allocations: 3.242 MB / 0.5478 GB, free: 77.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.9008, allocations: 1.925 MB / 0.5496 GB, free: 76.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003858/0.9012, allocations: 201.2 kB / 0.5498 GB, free: 76.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.9013, allocations: 50.34 kB / 0.5499 GB, free: 76.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.048e-06/0.9013, allocations: 1.938 kB / 0.5499 GB, free: 76.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04875/0.95, allocations: 20.98 MB / 0.5704 GB, free: 63.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.9501, allocations: 252.1 kB / 0.5706 GB, free: 63.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/0.9548, allocations: 4.182 MB / 0.5747 GB, free: 58.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.9551, allocations: 53.7 kB / 0.5747 GB, free: 58.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.9565, allocations: 3.246 MB / 0.5779 GB, free: 56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006481/0.9571, allocations: 0.7939 MB / 0.5787 GB, free: 55.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.9583, allocations: 1.183 MB / 0.5798 GB, free: 54.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.9583, allocations: 305.1 kB / 0.5801 GB, free: 53.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.9607, allocations: 2.276 MB / 0.5824 GB, free: 51.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.964, allocations: 5.848 MB / 0.5881 GB, free: 43.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006532/0.9705, allocations: 8.671 MB / 0.5965 GB, free: 33.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-05/0.9706, allocations: 32 kB / 0.5966 GB, free: 33.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.0148/0.9854, allocations: 9.544 MB / 0.6059 GB, free: 24.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.9855, allocations: 56 kB / 0.6059 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.175e-05/0.9856, allocations: 120 kB / 0.606 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/0.9908, allocations: 2.075 MB / 0.6081 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.9944, allocations: 1.255 MB / 0.6093 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/1.012, allocations: 16.77 MB / 0.6257 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004739/1.017, allocations: 347.6 kB / 0.626 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008645/1.017, allocations: 352 kB / 0.6263 GB, free: 2.785 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.003236/1.021, allocations: 2.141 MB / 0.6284 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007745/1.021, allocations: 393.4 kB / 0.6288 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00839/1.03, allocations: 4.27 MB / 0.633 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-05/1.03, allocations: 23.94 kB / 0.633 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/1.03, allocations: 11.94 kB / 0.633 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.03, allocations: 7.969 kB / 0.633 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.05, allocations: 9.429 MB / 0.6422 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.05, allocations: 0 / 0.6422 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.051, allocations: 295.5 kB / 0.6425 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003848/1.055, allocations: 1.347 MB / 0.6438 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/1.055, allocations: 32 kB / 0.6439 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/1.068, allocations: 8.775 MB / 0.6524 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.068, allocations: 4 kB / 0.6524 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.081, allocations: 7.257 MB / 0.6595 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.082, allocations: 365.2 kB / 0.6599 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.083, allocations: 40.06 kB / 0.6599 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.085, allocations: 120.1 kB / 0.66 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/1.086, allocations: 117.1 kB / 0.6601 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.086, allocations: 55.92 kB / 0.6602 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004727/1.091, allocations: 2.64 MB / 0.6628 GB, free: 13.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.091, allocations: 0 / 0.6628 GB, free: 13.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005271/1.096, allocations: 1.105 MB / 0.6638 GB, free: 12.18 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.01141/1.107, allocations: 7.898 MB / 0.6716 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008926/1.116, allocations: 5.82 MB / 0.6772 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.116, allocations: 0 / 0.6772 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.12, allocations: 2.069 MB / 0.6793 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.123, allocations: 0.576 MB / 0.6798 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07403/1.197, allocations: 49.88 MB / 0.7285 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.201, allocations: 2.867 MB / 0.7313 GB, free: 1.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004001/1.205, allocations: 1.876 MB / 0.7332 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/1.207, allocations: 1.987 MB / 0.7351 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/1.207, allocations: 0 / 0.7351 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/2.265, allocations: 86.85 MB / 0.8199 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.02/30.28, allocations: 8.062 kB / 0.8199 GB, free: 156.2 MB / 0.5606 GB " [Timeout remaining time 629] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 44.44387629698031]