Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001311/0.001311, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001373/0.001373, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.343/1.343, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",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.001948/0.001948, allocations: 55.91 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.268, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006894/0.2749, allocations: 7.181 MB / 403.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005663/0.2806, allocations: 3.21 MB / 406.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.2821, allocations: 40 kB / 406.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.2841, allocations: 0.8025 MB / 407.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.2881, allocations: 1.34 MB / 408.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.2894, allocations: 0.4903 MB / 409.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00443/0.2938, allocations: 2.544 MB / 412 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.2958, allocations: 1.105 MB / 413.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.2974, allocations: 0.7702 MB / 413.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.2995, allocations: 1.225 MB / 415.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003933/0.2999, allocations: 142.4 kB / 415.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.3019, allocations: 0.9105 MB / 416.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.3031, allocations: 1.028 MB / 417.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.3046, allocations: 1.199 MB / 418.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006277/0.3109, allocations: 3.995 MB / 422.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3109, allocations: 0 / 422.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3109, allocations: 1.062 kB / 422.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000157/0.3111, allocations: 0 / 422.3 MB, free: 9.043 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007707/0.3188, allocations: 2.913 MB / 425.3 MB, free: 6.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3188, allocations: 15.98 kB / 425.3 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00076/0.3196, allocations: 454 kB / 425.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/0.3256, allocations: 1.66 MB / 427.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/0.3299, allocations: 1.731 MB / 429.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.33, allocations: 118.9 kB / 429.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/0.3304, allocations: 151.8 kB / 429.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.3418, allocations: 6.37 MB / 435.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.3419, allocations: 27.75 kB / 435.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/0.3422, allocations: 79.89 kB / 435.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002629/0.3448, allocations: 1.429 MB / 437.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3573, allocations: 5.669 MB / 442.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/0.3943, allocations: 26.17 MB / 469.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.3987, allocations: 1.732 MB / 470.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4002, allocations: 0.9441 MB / 471.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.4003, allocations: 11.98 kB / 471.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.4003, allocations: 42.5 kB / 471.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 4.187e-06/0.4003, allocations: 0 / 471.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02284/0.4231, allocations: 8.558 MB / 480.4 MB, free: 13.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4232, allocations: 140.5 kB / 480.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006217/0.4295, allocations: 2.852 MB / 483.4 MB, free: 10.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.4297, allocations: 41.7 kB / 483.4 MB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.4318, allocations: 2.17 MB / 485.6 MB, free: 8.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006754/0.4325, allocations: 452.6 kB / 486 MB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/0.4345, allocations: 0.8854 MB / 486.9 MB, free: 7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4346, allocations: 309.1 kB / 487.2 MB, free: 6.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.4373, allocations: 1.41 MB / 488.6 MB, free: 5.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/0.4425, allocations: 4.23 MB / 492.9 MB, free: 15.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008382/0.4509, allocations: 6.119 MB / 499 MB, free: 8.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/0.451, allocations: 31.98 kB / 499 MB, free: 8.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01369/0.4647, allocations: 6.085 MB / 0.4933 GB, free: 1.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.4648, allocations: 48 kB / 0.4933 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.465, allocations: 103.9 kB / 0.4934 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/0.4675, allocations: 0.7974 MB / 0.4942 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/0.4708, allocations: 0.9825 MB / 0.4951 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/0.4773, allocations: 4.373 MB / 0.4994 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/0.4809, allocations: 247.7 kB / 0.4997 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008338/0.4817, allocations: 280 kB / 0.4999 GB, free: 11.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (533): * Single equations (assignments): 529 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003325/0.485, allocations: 1.368 MB / 0.5013 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/0.4857, allocations: 250.3 kB / 0.5015 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/0.49, allocations: 1.838 MB / 0.5033 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.4901, allocations: 19.92 kB / 0.5033 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.4901, allocations: 4 kB / 0.5033 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.4901, allocations: 7.984 kB / 0.5033 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.5014, allocations: 4.758 MB / 0.508 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.5014, allocations: 4 kB / 0.508 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.502, allocations: 135.8 kB / 0.5081 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.5041, allocations: 0.6483 MB / 0.5087 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.5042, allocations: 20.12 kB / 0.5088 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00543/0.5096, allocations: 3.853 MB / 0.5125 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5096, allocations: 4.031 kB / 0.5125 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/0.5161, allocations: 3.703 MB / 0.5161 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.5174, allocations: 370.1 kB / 0.5165 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00058/0.518, allocations: 23.92 kB / 0.5165 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.5192, allocations: 59.92 kB / 0.5166 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5194, allocations: 63.89 kB / 0.5166 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/0.5195, allocations: 31.98 kB / 0.5167 GB, free: 9.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00388/0.5233, allocations: 1.766 MB / 0.5184 GB, free: 7.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5233, allocations: 0 / 0.5184 GB, free: 7.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004424/0.5278, allocations: 0.6445 MB / 0.519 GB, free: 7.203 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006907/0.5347, allocations: 4.312 MB / 0.5232 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00612/0.5408, allocations: 3.296 MB / 0.5264 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5408, allocations: 480 / 0.5264 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.5421, allocations: 0.8692 MB / 0.5273 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.544, allocations: 249.9 kB / 0.5275 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2317/0.7757, allocations: 30.33 MB / 0.5572 GB, free: 148.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/0.7777, allocations: 2.194 MB / 0.5593 GB, free: 147.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003027/0.7808, allocations: 1.4 MB / 0.5607 GB, free: 147.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.7819, allocations: 1.055 MB / 0.5617 GB, free: 147.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7819, allocations: 1.281 kB / 0.5617 GB, free: 147.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7525/1.534, allocations: 45.67 MB / 0.6063 GB, free: 113.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.7/23.23, allocations: 3.984 kB / 0.6063 GB, free: 113.8 MB / 478.1 MB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.938787017017603]