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.001586/0.001586, allocations: 114.5 kB / 18.45 MB, free: 4.609 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.00221/0.00221, allocations: 216.3 kB / 21.41 MB, free: 1.648 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.534/1.534, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.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.001764/0.001764, allocations: 52.56 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1082, allocations: 49.14 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009992/0.1182, allocations: 7.159 MB / 398.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006866/0.1251, allocations: 3.178 MB / 401.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1262, allocations: 39.81 kB / 401.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.1284, allocations: 0.8015 MB / 402.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.132, allocations: 1.339 MB / 403.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1333, allocations: 0.4912 MB / 404.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004189/0.1375, allocations: 2.536 MB / 407 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.1393, allocations: 1.032 MB / 408 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.1409, allocations: 0.7822 MB / 408.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.1432, allocations: 1.215 MB / 410 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005767/0.1437, allocations: 136 kB / 410.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.1459, allocations: 0.9008 MB / 411 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.1473, allocations: 1.036 MB / 412.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.1493, allocations: 1.199 MB / 413.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00672/0.156, allocations: 3.991 MB / 417.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.156, allocations: 4 kB / 417.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.156, allocations: 0 / 417.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.1561, allocations: 0 / 417.3 MB, free: 14.76 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007756/0.1639, allocations: 2.987 MB / 420.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1639, allocations: 8.031 kB / 420.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009026/0.1649, allocations: 450 kB / 420.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007109/0.172, allocations: 1.668 MB / 422.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.1762, allocations: 1.796 MB / 424.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.1763, allocations: 122.8 kB / 424.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005916/0.1769, allocations: 151.8 kB / 424.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.1886, allocations: 6.367 MB / 430.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.562e-05/0.1887, allocations: 27.75 kB / 430.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.189, allocations: 79.89 kB / 430.9 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002905/0.1919, allocations: 1.433 MB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.2031, allocations: 5.67 MB / 438 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2125/0.4155, allocations: 26.26 MB / 464.3 MB, free: 57.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004439/0.42, allocations: 2.192 MB / 466.5 MB, free: 56.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4214, allocations: 0.9392 MB / 467.4 MB, free: 56.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/0.4215, allocations: 10.67 kB / 467.4 MB, free: 56.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.4215, allocations: 54.28 kB / 467.5 MB, free: 56.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.666e-06/0.4215, allocations: 0 / 467.5 MB, free: 56.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02231/0.4438, allocations: 8.776 MB / 476.2 MB, free: 54.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4439, allocations: 138.4 kB / 476.4 MB, free: 54.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/0.448, allocations: 2.851 MB / 479.2 MB, free: 53.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002344/0.4483, allocations: 41.02 kB / 479.3 MB, free: 53.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.4495, allocations: 2.174 MB / 481.4 MB, free: 51.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.4499, allocations: 451.9 kB / 481.9 MB, free: 51.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.451, allocations: 0.8898 MB / 482.8 MB, free: 51.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.451, allocations: 305.1 kB / 483.1 MB, free: 50.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.4529, allocations: 1.408 MB / 484.5 MB, free: 50.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.4558, allocations: 4.237 MB / 488.7 MB, free: 46.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005062/0.4608, allocations: 6.122 MB / 494.8 MB, free: 40.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-05/0.4609, allocations: 28.5 kB / 494.9 MB, free: 40.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009294/0.4702, allocations: 6.083 MB / 0.4892 GB, free: 34.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.4702, allocations: 51.91 kB / 0.4892 GB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.257e-05/0.4703, allocations: 104 kB / 0.4893 GB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.4724, allocations: 0.7973 MB / 0.4901 GB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/0.4749, allocations: 0.9825 MB / 0.4911 GB, free: 32.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.4794, allocations: 4.478 MB / 0.4955 GB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.4825, allocations: 251.5 kB / 0.4957 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004294/0.4829, allocations: 281.9 kB / 0.496 GB, free: 27.79 MB / 382.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.001633/0.4845, allocations: 1.368 MB / 0.4973 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.485, allocations: 255.2 kB / 0.4975 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/0.4884, allocations: 1.837 MB / 0.4993 GB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.4884, allocations: 19.19 kB / 0.4994 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.4884, allocations: 4 kB / 0.4994 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4885, allocations: 7.984 kB / 0.4994 GB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007997/0.4965, allocations: 4.791 MB / 0.504 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.4965, allocations: 7.938 kB / 0.5041 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.4971, allocations: 131.8 kB / 0.5042 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/0.499, allocations: 0.6483 MB / 0.5048 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.4991, allocations: 20 kB / 0.5048 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004116/0.5032, allocations: 3.948 MB / 0.5087 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5032, allocations: 7.922 kB / 0.5087 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/0.5083, allocations: 3.69 MB / 0.5123 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.5094, allocations: 455.2 kB / 0.5127 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004493/0.5098, allocations: 16 kB / 0.5128 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.511, allocations: 59.91 kB / 0.5128 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.5112, allocations: 63.92 kB / 0.5129 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.5113, allocations: 35.88 kB / 0.5129 GB, free: 10.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00248/0.5137, allocations: 1.77 MB / 0.5146 GB, free: 8.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5137, allocations: 0 / 0.5146 GB, free: 8.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00357/0.5173, allocations: 0.6406 MB / 0.5153 GB, free: 7.773 MB / 382.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.005691/0.523, allocations: 4.313 MB / 0.5195 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004895/0.5279, allocations: 3.289 MB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5279, allocations: 4.062 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.5295, allocations: 0.8664 MB / 0.5235 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.5318, allocations: 259.4 kB / 0.5238 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05817/0.59, allocations: 30.29 MB / 0.5534 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.5927, allocations: 2.193 MB / 0.5555 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003328/0.5961, allocations: 1.403 MB / 0.5569 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/0.5977, allocations: 1.062 MB / 0.5579 GB, free: 8.207 MB / 430.1 MB Notification: Performance of SimCode: time 1.873e-06/0.5977, allocations: 0 / 0.5579 GB, free: 8.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09923/0.6969, allocations: 42.11 MB / 0.599 GB, free: 14.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.74/19.43, allocations: 8.047 kB / 0.599 GB, free: 14.03 MB / 478.1 MB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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.csv","/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: 22.14286998800526]