Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001394/0.001394, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001554/0.001554, allocations: 214.9 kB / 23.75 MB, free: 4.672 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 1.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2685, allocations: 53.42 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009463/0.278, allocations: 7.147 MB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.2848, allocations: 3.216 MB / 441.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.2857, allocations: 39.81 kB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.2875, allocations: 0.8015 MB / 442.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.2908, allocations: 1.33 MB / 443.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2921, allocations: 494.9 kB / 444.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003839/0.2959, allocations: 2.551 MB / 446.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.2975, allocations: 1.086 MB / 447.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.2987, allocations: 0.7628 MB / 448.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.3005, allocations: 1.215 MB / 449.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.3009, allocations: 136 kB / 450 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.3026, allocations: 0.8969 MB / 450.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.3037, allocations: 1.009 MB / 451.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.305, allocations: 1.18 MB / 453 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.3099, allocations: 3.945 MB / 457 MB, free: 12.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3099, allocations: 0 / 457 MB, free: 12.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3099, allocations: 0 / 457 MB, free: 12.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.128e-05/0.31, allocations: 0 / 457 MB, free: 12.78 MB / 366.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.005855/0.3158, allocations: 2.88 MB / 459.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3159, allocations: 8.031 kB / 459.9 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005864/0.3165, allocations: 454 kB / 460.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006407/0.3229, allocations: 1.668 MB / 462 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/0.3268, allocations: 1.477 MB / 463.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.3269, allocations: 118.9 kB / 463.6 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004687/0.3274, allocations: 147.9 kB / 463.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.338, allocations: 6.363 MB / 470.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.052e-05/0.3381, allocations: 31.7 kB / 470.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.3383, allocations: 79.89 kB / 470.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002604/0.3409, allocations: 1.441 MB / 471.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.3518, allocations: 5.673 MB / 477.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/0.3861, allocations: 26.14 MB / 0.4916 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/0.3906, allocations: 1.731 MB / 0.4933 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.3922, allocations: 0.9365 MB / 0.4943 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/0.3923, allocations: 19.92 kB / 0.4943 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.3923, allocations: 38.56 kB / 0.4943 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.988e-06/0.3923, allocations: 0 / 0.4943 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02212/0.4145, allocations: 8.502 MB / 0.5026 GB, free: 1.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.4146, allocations: 140.5 kB / 0.5027 GB, free: 1.332 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.419, allocations: 2.828 MB / 0.5055 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.4193, allocations: 37.7 kB / 0.5055 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001869/0.4211, allocations: 2.159 MB / 0.5077 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006187/0.4217, allocations: 452.6 kB / 0.5081 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.423, allocations: 0.8893 MB / 0.509 GB, free: 10.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4231, allocations: 305.1 kB / 0.5092 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.4253, allocations: 1.406 MB / 0.5106 GB, free: 9.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004934/0.4302, allocations: 4.238 MB / 0.5148 GB, free: 3.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00804/0.4382, allocations: 6.125 MB / 0.5207 GB, free: 12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.081e-05/0.4383, allocations: 32 kB / 0.5208 GB, free: 11.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01236/0.4507, allocations: 6.081 MB / 0.5267 GB, free: 5.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/0.4508, allocations: 48 kB / 0.5268 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.4509, allocations: 103.9 kB / 0.5269 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.4532, allocations: 0.8047 MB / 0.5276 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.4564, allocations: 0.9825 MB / 0.5286 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.4628, allocations: 4.373 MB / 0.5329 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.4657, allocations: 255.6 kB / 0.5331 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/0.4663, allocations: 280 kB / 0.5334 GB, free: 14.92 MB / 462.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.002098/0.4684, allocations: 1.368 MB / 0.5347 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/0.4688, allocations: 246.4 kB / 0.5349 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/0.4729, allocations: 1.841 MB / 0.5367 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/0.4729, allocations: 19.94 kB / 0.5368 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4729, allocations: 0 / 0.5368 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.4729, allocations: 7.984 kB / 0.5368 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009791/0.4827, allocations: 4.738 MB / 0.5414 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.4827, allocations: 4 kB / 0.5414 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.4834, allocations: 139.7 kB / 0.5415 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/0.4855, allocations: 0.6522 MB / 0.5422 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/0.4856, allocations: 12 kB / 0.5422 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005661/0.4912, allocations: 3.853 MB / 0.5459 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4912, allocations: 0 / 0.5459 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2159/0.7072, allocations: 3.686 MB / 0.5495 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/0.708, allocations: 236 kB / 0.5498 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.7082, allocations: 17.91 kB / 0.5498 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.7091, allocations: 57.83 kB / 0.5498 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.7093, allocations: 61.48 kB / 0.5499 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.7094, allocations: 31.36 kB / 0.5499 GB, free: 113.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002751/0.7122, allocations: 1.76 MB / 0.5517 GB, free: 113.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7122, allocations: 0 / 0.5517 GB, free: 113.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003179/0.7153, allocations: 0.6252 MB / 0.5523 GB, free: 113.1 MB / 462.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.005271/0.7206, allocations: 4.323 MB / 0.5565 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004488/0.7251, allocations: 3.282 MB / 0.5597 GB, free: 110.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7251, allocations: 3.156 kB / 0.5597 GB, free: 110.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009415/0.726, allocations: 0.8662 MB / 0.5605 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.7275, allocations: 250.3 kB / 0.5608 GB, free: 109.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03142/0.7589, allocations: 30.24 MB / 0.5903 GB, free: 79.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.7605, allocations: 2.186 MB / 0.5924 GB, free: 77.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002382/0.7629, allocations: 1.392 MB / 0.5938 GB, free: 76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.7639, allocations: 1.05 MB / 0.5948 GB, free: 74.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.323e-06/0.7639, allocations: 0 / 0.5948 GB, free: 74.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08484/0.8487, allocations: 45.48 MB / 0.6392 GB, free: 29.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.05/20.9, allocations: 3.859 kB / 0.6392 GB, free: 29.72 MB / 462.1 MB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 23.65694348499892]