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.001703/0.001703, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002285/0.002285, allocations: 214.9 kB / 24.47 MB, free: 3.793 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.509/1.509, allocations: 207.7 MB / 235.3 MB, free: 9.781 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.002066/0.002066, allocations: 51.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2406, allocations: 49.16 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006642/0.2473, allocations: 6.352 MB / 402.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005031/0.2523, allocations: 2.996 MB / 405.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.2529, allocations: 34.91 kB / 405.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.2545, allocations: 0.7731 MB / 406.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.2573, allocations: 1.359 MB / 407.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009447/0.2582, allocations: 0.4904 MB / 408.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.2608, allocations: 2.537 MB / 410.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.2619, allocations: 1.089 MB / 412 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.263, allocations: 0.783 MB / 412.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.2646, allocations: 1.184 MB / 414 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.2649, allocations: 135.4 kB / 414.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.2664, allocations: 0.7821 MB / 414.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.2675, allocations: 1.025 MB / 415.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.2686, allocations: 0.8638 MB / 416.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.2737, allocations: 4.002 MB / 420.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2737, allocations: 0 / 420.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2737, allocations: 1.344 kB / 420.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.78e-05/0.2738, allocations: 0 / 420.8 MB, free: 10.55 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.005603/0.2794, allocations: 2.915 MB / 423.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2794, allocations: 19.92 kB / 423.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005603/0.28, allocations: 450 kB / 424.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006219/0.2862, allocations: 1.668 MB / 425.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/0.2899, allocations: 1.739 MB / 427.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.29, allocations: 118.8 kB / 427.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/0.2904, allocations: 151.8 kB / 427.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009693/0.3001, allocations: 6.367 MB / 434.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/0.3001, allocations: 27.75 kB / 434.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.3004, allocations: 83.83 kB / 434.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002656/0.303, allocations: 1.437 MB / 435.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.3131, allocations: 5.658 MB / 441.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03207/0.3452, allocations: 25.3 MB / 466.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.3495, allocations: 1.737 MB / 468.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.351, allocations: 0.9363 MB / 469.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/0.351, allocations: 12 kB / 469.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.3511, allocations: 50.48 kB / 469.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.837e-06/0.3511, allocations: 0 / 469.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02192/0.373, allocations: 8.585 MB / 478 MB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.3731, allocations: 144.5 kB / 478.1 MB, free: 15.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/0.3773, allocations: 3.022 MB / 481.2 MB, free: 12.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.3774, allocations: 41.7 kB / 481.2 MB, free: 12.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.3791, allocations: 2.166 MB / 483.4 MB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.3796, allocations: 452.6 kB / 483.8 MB, free: 9.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.3808, allocations: 0.8932 MB / 484.7 MB, free: 9.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3809, allocations: 305.1 kB / 485 MB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.3832, allocations: 1.41 MB / 486.4 MB, free: 7.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004641/0.3878, allocations: 4.234 MB / 490.6 MB, free: 1.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007636/0.3954, allocations: 6.115 MB / 496.8 MB, free: 10.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.426e-05/0.3955, allocations: 31.94 kB / 496.8 MB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01268/0.4082, allocations: 6.091 MB / 0.4911 GB, free: 4.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.591e-05/0.4083, allocations: 48 kB / 0.4911 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.4084, allocations: 108.1 kB / 0.4912 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/0.4109, allocations: 0.7889 MB / 0.492 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.4143, allocations: 0.9903 MB / 0.493 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/0.4211, allocations: 4.346 MB / 0.4972 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/0.4246, allocations: 239.7 kB / 0.4974 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008192/0.4254, allocations: 276 kB / 0.4977 GB, free: 13.11 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.003138/0.4285, allocations: 1.375 MB / 0.4991 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006353/0.4292, allocations: 246.3 kB / 0.4993 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.4338, allocations: 1.842 MB / 0.5011 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/0.4338, allocations: 15.94 kB / 0.5011 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.4338, allocations: 7.984 kB / 0.5011 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.4339, allocations: 7.984 kB / 0.5011 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.4456, allocations: 4.533 MB / 0.5055 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.4456, allocations: 4 kB / 0.5055 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.4463, allocations: 131.8 kB / 0.5057 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.4484, allocations: 0.6444 MB / 0.5063 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.4485, allocations: 16 kB / 0.5063 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005655/0.4542, allocations: 3.818 MB / 0.51 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.4542, allocations: 7.969 kB / 0.5101 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006631/0.4608, allocations: 3.691 MB / 0.5137 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.4622, allocations: 386.1 kB / 0.514 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006285/0.4628, allocations: 23.92 kB / 0.5141 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.4641, allocations: 59.91 kB / 0.5141 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.4643, allocations: 59.83 kB / 0.5142 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/0.4644, allocations: 28 kB / 0.5142 GB, free: 11.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003667/0.468, allocations: 1.766 MB / 0.5159 GB, free: 10.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.468, allocations: 0 / 0.5159 GB, free: 10.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004153/0.4722, allocations: 0.6523 MB / 0.5166 GB, free: 9.566 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.007291/0.4795, allocations: 4.315 MB / 0.5208 GB, free: 5.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005914/0.4854, allocations: 3.288 MB / 0.524 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.4854, allocations: 0 / 0.524 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.4868, allocations: 0.8701 MB / 0.5248 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.4888, allocations: 261.6 kB / 0.5251 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.222/0.7108, allocations: 30.32 MB / 0.5547 GB, free: 150.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/0.7133, allocations: 1.622 MB / 0.5563 GB, free: 150.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003548/0.7169, allocations: 1.4 MB / 0.5576 GB, free: 150.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.7183, allocations: 1.054 MB / 0.5587 GB, free: 150.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.183e-06/0.7183, allocations: 0 / 0.5587 GB, free: 150.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08181/0.8001, allocations: 41.95 MB / 0.5996 GB, free: 120.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.37, allocations: 15.55 kB / 0.5996 GB, free: 120.3 MB / 478.1 MB " [Timeout remaining time 644] (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: 18.024981373921037]