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.0008648/0.0008648, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.0009218/0.0009218, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.9108/0.9108, allocations: 177 MB / 204.1 MB, free: 5.742 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.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 2.685e-06/2.685e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.685e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007442/0.007478, allocations: 6.329 MB / 330.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007279/0.01476, allocations: 3.006 MB / 333.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.01554, allocations: 35.88 kB / 333.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.01727, allocations: 0.8092 MB / 334.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.01983, allocations: 1.373 MB / 336.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.02082, allocations: 0.526 MB / 336.6 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.02334, allocations: 2.908 MB / 339.5 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.02436, allocations: 1.332 MB / 340.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009539/0.02532, allocations: 1.189 MB / 342 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.02638, allocations: 1.29 MB / 343.3 MB, free: 13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.02655, allocations: 140 kB / 343.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.02741, allocations: 0.811 MB / 344.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005864/0.02799, allocations: 1.052 MB / 345.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.02851, allocations: 0.6305 MB / 346 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.03143, allocations: 3.948 MB / 349.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.03143, allocations: 0 / 349.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03143, allocations: 0 / 349.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.378e-05/0.03147, allocations: 0 / 349.9 MB, free: 6.406 MB / 314.7 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.003283/0.03475, allocations: 2.908 MB / 352.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.03479, allocations: 11.98 kB / 352.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003391/0.03513, allocations: 450 kB / 353.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.03836, allocations: 1.742 MB / 355 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.03978, allocations: 1.317 MB / 356.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.03984, allocations: 122.9 kB / 356.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.04005, allocations: 155.8 kB / 356.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.04535, allocations: 6.378 MB / 363 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.04539, allocations: 27.75 kB / 363 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.04555, allocations: 79.89 kB / 363.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001343/0.04689, allocations: 1.433 MB / 364.5 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006223/0.05312, allocations: 5.677 MB / 370.2 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.06983, allocations: 25.41 MB / 395.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.0722, allocations: 1.78 MB / 397.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/0.07302, allocations: 0.9372 MB / 398.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.07306, allocations: 12 kB / 398.3 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.07308, allocations: 42.56 kB / 398.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 2.765e-06/0.07309, allocations: 224 / 398.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.01227/0.08536, allocations: 8.806 MB / 407.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.08542, allocations: 144.4 kB / 407.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/0.08806, allocations: 3.15 MB / 410.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.08811, allocations: 41.7 kB / 410.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008894/0.089, allocations: 2.131 MB / 412.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.08925, allocations: 448.6 kB / 413.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006855/0.08994, allocations: 0.8775 MB / 413.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.09001, allocations: 301.1 kB / 414.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.09136, allocations: 1.418 MB / 415.7 MB, free: 2.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/0.0939, allocations: 4.242 MB / 419.9 MB, free: 13.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.09797, allocations: 6.13 MB / 426 MB, free: 5.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-05/0.09799, allocations: 28 kB / 426.1 MB, free: 5.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006046/0.104, allocations: 6.115 MB / 432.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.1041, allocations: 48 kB / 432.2 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/0.1041, allocations: 100.1 kB / 432.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.1054, allocations: 0.7888 MB / 433.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.1068, allocations: 1.006 MB / 434.1 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.1108, allocations: 4.345 MB / 438.5 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.1126, allocations: 299.5 kB / 438.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.1128, allocations: 276 kB / 439 MB, free: 8.621 MB / 410.7 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.001655/0.1145, allocations: 1.376 MB / 440.4 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.1148, allocations: 242.4 kB / 440.6 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.117, allocations: 1.847 MB / 442.5 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.117, allocations: 15.94 kB / 442.5 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.117, allocations: 7.938 kB / 442.5 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.117, allocations: 7.922 kB / 442.5 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005361/0.1224, allocations: 4.579 MB / 447.1 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1224, allocations: 4 kB / 447.1 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.1227, allocations: 131.8 kB / 447.2 MB, free: 332 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1535/0.2762, allocations: 0.6428 MB / 447.9 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.2764, allocations: 18.52 kB / 447.9 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.2802, allocations: 3.852 MB / 451.7 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2802, allocations: 6.531 kB / 451.7 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.2838, allocations: 3.691 MB / 455.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.2842, allocations: 257.5 kB / 455.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.2844, allocations: 11.84 kB / 455.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.2849, allocations: 101 kB / 455.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2851, allocations: 65.53 kB / 455.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.2851, allocations: 26.31 kB / 455.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001715/0.2868, allocations: 1.882 MB / 457.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2868, allocations: 0 / 457.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002179/0.289, allocations: 0.7183 MB / 458.5 MB, free: 108.5 MB / 410.7 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.003273/0.2923, allocations: 4.322 MB / 462.8 MB, free: 106.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002714/0.295, allocations: 3.291 MB / 466.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.295, allocations: 0 / 466.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.2956, allocations: 0.8738 MB / 467 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.2964, allocations: 261.3 kB / 467.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.3161, allocations: 30.57 MB / 497.8 MB, free: 68.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/0.317, allocations: 1.616 MB / 499.4 MB, free: 67.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001468/0.3185, allocations: 1.411 MB / 0.4891 GB, free: 65.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007452/0.3193, allocations: 1.051 MB / 0.4901 GB, free: 64.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3193, allocations: 0 / 0.4901 GB, free: 64.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.364, allocations: 43.3 MB / 0.5324 GB, free: 21.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/9.052, allocations: 7.781 kB / 0.5324 GB, free: 21.75 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/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: 10.911058261059225]