Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.0009165/0.0009165, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00101/0.00101, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9046/0.9046, allocations: 177 MB / 204.1 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.521e-05, allocations: 7.266 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.007389/0.007414, allocations: 9.046 MB / 333.6 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.01349, allocations: 3.691 MB / 337.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.01493, allocations: 71.62 kB / 337.3 MB, free: 3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.01762, allocations: 2.125 MB / 339.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.02115, allocations: 1.707 MB / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.02233, allocations: 0.7442 MB / 341.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.02584, allocations: 3.769 MB / 345.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.02816, allocations: 2.461 MB / 348.1 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.03048, allocations: 1.91 MB / 350.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.03219, allocations: 1.882 MB / 351.9 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.0325, allocations: 268 kB / 352.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.03369, allocations: 1.057 MB / 353.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009199/0.03461, allocations: 1.663 MB / 354.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008535/0.03547, allocations: 1.055 MB / 356 MB, free: 272 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.04006, allocations: 5.946 MB / 361.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.04006, allocations: 4 kB / 361.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.04007, allocations: 0 / 361.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.049e-05/0.04016, allocations: 0 / 361.9 MB, free: 10.3 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.005613/0.04577, allocations: 4.16 MB / 366.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.04582, allocations: 15.98 kB / 366.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006023/0.04642, allocations: 0.6374 MB / 366.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.05012, allocations: 1.987 MB / 368.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.05255, allocations: 1.9 MB / 370.6 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.05266, allocations: 197.2 kB / 370.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.0532, allocations: 271.8 kB / 371.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.06515, allocations: 10.05 MB / 381.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.568e-05/0.06523, allocations: 47.64 kB / 381.2 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.06553, allocations: 135.9 kB / 381.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/0.06729, allocations: 1.856 MB / 383.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.07903, allocations: 8.544 MB / 391.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/0.1101, allocations: 35.55 MB / 427.3 MB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00627/0.1164, allocations: 3.224 MB / 430.5 MB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.1181, allocations: 1.686 MB / 432.2 MB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007226/0.1253, allocations: 6.365 MB / 438.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1253, allocations: 51.56 kB / 438.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.208e-06/0.1253, allocations: 0 / 438.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.18/0.3053, allocations: 18.11 MB / 456.7 MB, free: 113.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3054, allocations: 145.6 kB / 456.8 MB, free: 113.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/0.3086, allocations: 3.836 MB / 460.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.3088, allocations: 56.05 kB / 460.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/0.3097, allocations: 2.814 MB / 463.5 MB, free: 109.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.3101, allocations: 0.6592 MB / 464.2 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008228/0.3109, allocations: 1.109 MB / 465.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.068e-05/0.311, allocations: 305.1 kB / 465.6 MB, free: 108.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.3127, allocations: 1.976 MB / 467.6 MB, free: 107.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.3151, allocations: 5.388 MB / 473 MB, free: 101.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/0.3196, allocations: 7.947 MB / 480.9 MB, free: 92.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.024e-05/0.3196, allocations: 39.94 kB / 481 MB, free: 92.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.008114/0.3278, allocations: 8.187 MB / 489.1 MB, free: 84.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.3278, allocations: 60.03 kB / 489.2 MB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-05/0.3279, allocations: 120 kB / 489.3 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.3298, allocations: 1.3 MB / 490.6 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.3318, allocations: 1.271 MB / 491.9 MB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/0.3367, allocations: 6.401 MB / 498.3 MB, free: 74.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.3397, allocations: 355.2 kB / 498.6 MB, free: 74.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004409/0.3401, allocations: 346.6 kB / 499 MB, free: 74.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (681): * Single equations (assignments): 677 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001957/0.3421, allocations: 1.804 MB / 0.489 GB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.3425, allocations: 325.8 kB / 0.4894 GB, free: 71.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.3461, allocations: 3.369 MB / 0.4926 GB, free: 68.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.3462, allocations: 16 kB / 0.4927 GB, free: 68.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3462, allocations: 8 kB / 0.4927 GB, free: 68.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.3462, allocations: 11.34 kB / 0.4927 GB, free: 68.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007833/0.354, allocations: 7.332 MB / 0.4998 GB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.354, allocations: 4 kB / 0.4998 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.3547, allocations: 243.7 kB / 0.5001 GB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.3565, allocations: 1.116 MB / 0.5012 GB, free: 59.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.3566, allocations: 26.81 kB / 0.5012 GB, free: 59.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/0.3612, allocations: 6.035 MB / 0.5071 GB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3612, allocations: 4.031 kB / 0.5071 GB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.3666, allocations: 5.747 MB / 0.5127 GB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008842/0.3675, allocations: 313.7 kB / 0.513 GB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.3677, allocations: 39.73 kB / 0.513 GB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/0.3685, allocations: 131.8 kB / 0.5132 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.3687, allocations: 88.83 kB / 0.5132 GB, free: 47.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.3688, allocations: 47.98 kB / 0.5133 GB, free: 47.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001961/0.3707, allocations: 2.271 MB / 0.5155 GB, free: 45.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3707, allocations: 4 kB / 0.5155 GB, free: 45.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002998/0.3737, allocations: 0.9725 MB / 0.5165 GB, free: 44.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005389/0.3791, allocations: 6.4 MB / 0.5227 GB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004902/0.384, allocations: 4.619 MB / 0.5272 GB, free: 33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.384, allocations: 0 / 0.5272 GB, free: 33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.3853, allocations: 1.45 MB / 0.5286 GB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.3869, allocations: 367.9 kB / 0.529 GB, free: 31.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04343/0.4304, allocations: 41.62 MB / 0.5696 GB, free: 296 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.4323, allocations: 2.293 MB / 0.5719 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002491/0.4348, allocations: 1.715 MB / 0.5735 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/0.4368, allocations: 1.586 MB / 0.5751 GB, free: 10.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4368, allocations: 0 / 0.5751 GB, free: 10.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2353/0.672, allocations: 62.23 MB / 0.6359 GB, free: 151.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.73, allocations: 14.36 kB / 0.6359 GB, free: 151.6 MB / 474.7 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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: 12.636659719981253]