Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008687/0.0008687, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008982/0.0008982, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.863/0.863, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.398e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.004964/0.004978, allocations: 6.331 MB / 330.9 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.008097, allocations: 3.01 MB / 333.9 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.008384, allocations: 35.81 kB / 334 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.0094, allocations: 0.817 MB / 334.8 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.01107, allocations: 1.365 MB / 336.1 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.01157, allocations: 0.526 MB / 336.7 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.01333, allocations: 2.909 MB / 339.6 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.01435, allocations: 1.328 MB / 340.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009772/0.01533, allocations: 1.189 MB / 342.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.01664, allocations: 1.298 MB / 343.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.01691, allocations: 140 kB / 343.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008457/0.01776, allocations: 0.8071 MB / 344.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.01834, allocations: 1.048 MB / 345.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.01886, allocations: 0.6383 MB / 346 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.02225, allocations: 3.944 MB / 350 MB, free: 6.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.02225, allocations: 0 / 350 MB, free: 6.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02225, allocations: 0 / 350 MB, free: 6.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.847e-05/0.02232, allocations: 0 / 350 MB, free: 6.461 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.004209/0.02653, allocations: 2.908 MB / 352.9 MB, free: 3.508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.02657, allocations: 12.03 kB / 352.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003806/0.02695, allocations: 446 kB / 353.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.0302, allocations: 1.742 MB / 355.1 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.03169, allocations: 1.321 MB / 356.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.03175, allocations: 119 kB / 356.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.03196, allocations: 155.8 kB / 356.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005245/0.03721, allocations: 6.374 MB / 363 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.03725, allocations: 27.75 kB / 363 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.03741, allocations: 83.89 kB / 363.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001328/0.03874, allocations: 1.433 MB / 364.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006245/0.04498, allocations: 5.673 MB / 370.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.06145, allocations: 25.41 MB / 395.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.06386, allocations: 1.785 MB / 397.4 MB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.06468, allocations: 0.9326 MB / 398.4 MB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.06472, allocations: 12 kB / 398.4 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.06475, allocations: 46.48 kB / 398.4 MB, free: 4.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 3.035e-06/0.06475, allocations: 0 / 398.4 MB, free: 4.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.01236/0.07711, allocations: 8.809 MB / 407.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.07717, allocations: 136.5 kB / 407.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.07993, allocations: 3.15 MB / 410.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.07998, allocations: 41.7 kB / 410.6 MB, free: 8.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009221/0.0809, allocations: 2.131 MB / 412.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.08115, allocations: 456.6 kB / 413.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006777/0.08183, allocations: 0.8698 MB / 414 MB, free: 4.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.0819, allocations: 301.1 kB / 414.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.08326, allocations: 1.418 MB / 415.7 MB, free: 3.008 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.08608, allocations: 4.245 MB / 420 MB, free: 13.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004648/0.09072, allocations: 6.125 MB / 426.1 MB, free: 5.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.09075, allocations: 28 kB / 426.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006384/0.09714, allocations: 6.113 MB / 432.2 MB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.09718, allocations: 48 kB / 432.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.034e-05/0.09724, allocations: 108 kB / 432.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.09844, allocations: 0.7927 MB / 433.2 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.0999, allocations: 0.9943 MB / 434.2 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.1038, allocations: 4.346 MB / 438.5 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.1054, allocations: 303.5 kB / 438.8 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.1056, allocations: 272 kB / 439.1 MB, free: 8.684 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.001297/0.1069, allocations: 1.376 MB / 440.4 MB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.1071, allocations: 246.3 kB / 440.7 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.1095, allocations: 1.843 MB / 442.5 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.1095, allocations: 12 kB / 442.5 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1095, allocations: 7.938 kB / 442.6 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1095, allocations: 11.98 kB / 442.6 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/0.1144, allocations: 4.586 MB / 447.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1144, allocations: 4 kB / 447.2 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.1147, allocations: 131.8 kB / 447.3 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1421/0.2568, allocations: 0.6426 MB / 447.9 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.257, allocations: 20.56 kB / 447.9 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/0.2602, allocations: 3.848 MB / 451.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2602, allocations: 7.531 kB / 451.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.2633, allocations: 3.684 MB / 455.5 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.2636, allocations: 248.4 kB / 455.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.2638, allocations: 22.34 kB / 455.7 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.2643, allocations: 97.73 kB / 455.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.2644, allocations: 68.98 kB / 455.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.2644, allocations: 27.28 kB / 455.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.266, allocations: 1.875 MB / 457.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.266, allocations: 3.938 kB / 457.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001895/0.2679, allocations: 0.7204 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.003063/0.2709, allocations: 4.323 MB / 462.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.2734, allocations: 3.294 MB / 466.2 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2734, allocations: 0 / 466.2 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.274, allocations: 0.8711 MB / 467 MB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/0.2748, allocations: 272.9 kB / 467.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.2937, allocations: 30.57 MB / 497.9 MB, free: 68.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000953/0.2947, allocations: 1.617 MB / 499.5 MB, free: 67.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001428/0.2961, allocations: 1.405 MB / 0.4891 GB, free: 65.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006558/0.2968, allocations: 1.059 MB / 0.4902 GB, free: 64.71 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2968, allocations: 0 / 0.4902 GB, free: 64.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.3453, allocations: 43.31 MB / 0.5325 GB, free: 21.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.365, allocations: 3.328 kB / 0.5325 GB, free: 21.96 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 11.130179052241147]